summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-05 13:13:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-05 13:13:23 +0000
commit7bc369ebff32633ef62323835176b41c7aeca43f (patch)
tree0bd7383016f86db6563bb013bf5dadd59426875e
parent43c9b9f4e9b7d2a5586f2f018a7b1600895acd3a (diff)
downloaddrakx-7bc369ebff32633ef62323835176b41c7aeca43f.tar
drakx-7bc369ebff32633ef62323835176b41c7aeca43f.tar.gz
drakx-7bc369ebff32633ef62323835176b41c7aeca43f.tar.bz2
drakx-7bc369ebff32633ef62323835176b41c7aeca43f.tar.xz
drakx-7bc369ebff32633ef62323835176b41c7aeca43f.zip
- no need to build stage1-cdrom nor stage1-network for MOVE
- for stage1-full, no special .c is needed for MOVE
-rw-r--r--mdk-stage1/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 844ab396d..1c01fc4ed 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -116,14 +116,8 @@ STAGE1_NETWORK_LIBS = /usr/lib/libresolv.a
endif
endif
-ifdef MOVE
-MOVE_ADDSRC = lomount.c
-else
-MOVE_ADDSRC =
-endif
-
#- stage1 itself
-STAGE1SRC = stage1.c log.c tools.c modules.c probing.c mount.c automatic.c frontend-common.c $(MOVE_ADDSRC)
+STAGE1SRC = stage1.c log.c tools.c modules.c probing.c mount.c automatic.c frontend-common.c
CDROMSRC = cdrom.c
DISKSRC = disk.c directory.c lomount.c
NETWORKSRC = network.c nfsmount.c dhcp.c url.c dns.c adsl.c directory.c lomount.c
@@ -167,12 +161,14 @@ endif
BINS = init init-stage2 stage1-full
+ifndef MOVE
ifeq (i386, $(ARCH))
BINS += stage1-cdrom stage1-network
endif
ifeq (x86_64, $(ARCH))
BINS += stage1-cdrom stage1-network
endif
+endif
ifeq (i386, $(ARCH))
DIRS = dietlibc