summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-04-16 21:31:42 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-04-16 21:31:42 +0000
commitabe9d9277308a9dad0d386a7d6af4820c14ed625 (patch)
tree5e9fe63437c685bbb9c91dbf2b37602cf370f46b
parent883a136674f742a2556aff187e784dd7216cf5cc (diff)
downloaddrakx-backup-do-not-use-abe9d9277308a9dad0d386a7d6af4820c14ed625.tar
drakx-backup-do-not-use-abe9d9277308a9dad0d386a7d6af4820c14ed625.tar.gz
drakx-backup-do-not-use-abe9d9277308a9dad0d386a7d6af4820c14ed625.tar.bz2
drakx-backup-do-not-use-abe9d9277308a9dad0d386a7d6af4820c14ed625.tar.xz
drakx-backup-do-not-use-abe9d9277308a9dad0d386a7d6af4820c14ed625.zip
use insmod-busybox on x86-64, save around 50 KB. ;-)
-rw-r--r--mdk-stage1/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 1f8e2e731..36cc85702 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -86,10 +86,12 @@ FRONTEND_OBJS = $(subst .c,.o,$($(F)_FRONTEND_SRC))
FRONTEND_LINK = $(FRONTEND_OBJS) $($(F)_FRONTEND_LIBS)
+INSMOD = insmod-modutils
ifeq (i386, $(ARCH))
INSMOD = insmod-busybox
-else
-INSMOD = insmod-modutils
+endif
+ifeq (x86_64, $(ARCH))
+INSMOD = insmod-busybox
endif
STAGE1_OWN_LIBS = $(INSMOD)/libinsmod.a mar/libmar.a bzlib/libbzlib.a