summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-03 10:20:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-03 10:20:13 +0000
commit5074c53aa3b7e7cfa334287a8704b69959e86363 (patch)
tree9bd9a74bfe90cb01079b6d1079b94337b10fa15b /mdk-stage1/Makefile
parenteee05b3c5fb17a5d1c2585781189b2a35badabf4 (diff)
downloaddrakx-backup-do-not-use-5074c53aa3b7e7cfa334287a8704b69959e86363.tar
drakx-backup-do-not-use-5074c53aa3b7e7cfa334287a8704b69959e86363.tar.gz
drakx-backup-do-not-use-5074c53aa3b7e7cfa334287a8704b69959e86363.tar.bz2
drakx-backup-do-not-use-5074c53aa3b7e7cfa334287a8704b69959e86363.tar.xz
drakx-backup-do-not-use-5074c53aa3b7e7cfa334287a8704b69959e86363.zip
stage1-disk and stage1-medias-usb are dead already
Diffstat (limited to 'mdk-stage1/Makefile')
-rw-r--r--mdk-stage1/Makefile36
1 files changed, 4 insertions, 32 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 3d3dfb8dc..76cd102a7 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -4,9 +4,9 @@
#
# $Id$
#
- # Guillaume Cottenceau (gc@mandrakesoft.com)
+ # Pixel (pixel@mandrakesoft.com) (mostly done by Guillaume Cottenceau)
#
- # Copyright 2000 MandrakeSoft
+ # Copyright 2000-2004 MandrakeSoft
#
# This software may be freely redistributed under the terms of the GNU
# public license.
@@ -133,16 +133,6 @@ STAGE1OBJS-CDROM = $(subst .c,-CDROM.o,$(STAGE1SRC) $(CDROMSRC))
CDROM_DEFS = -DDISABLE_DISK -DDISABLE_NETWORK
-STAGE1OBJS-DISK = $(subst .c,-DISK.o,$(STAGE1SRC) $(DISKSRC))
-
-DISK_DEFS = -DDISABLE_CDROM -DDISABLE_NETWORK
-
-
-STAGE1OBJS-MEDIAS-USB = $(subst .c,-MEDIAS-USB.o,$(STAGE1SRC) $(CDROMSRC) $(DISKSRC))
-
-MEDIAS-USB_DEFS = -DDISABLE_NETWORK
-
-
STAGE1OBJS-NETWORK = $(subst .c,-NETWORK.o,$(STAGE1SRC) $(NETWORKSRC))
NETWORK_DEFS = -DDISABLE_CDROM -DDISABLE_DISK
@@ -172,10 +162,10 @@ endif
BINS = init stage1-full
ifeq (i386, $(ARCH))
-BINS += stage1-cdrom stage1-disk stage1-network stage1-medias-usb
+BINS += stage1-cdrom stage1-network
endif
ifeq (x86_64, $(ARCH))
-BINS += stage1-cdrom stage1-disk stage1-network stage1-medias-usb
+BINS += stage1-cdrom stage1-network
endif
ifeq (i386, $(ARCH))
@@ -220,14 +210,6 @@ stage1-cdrom: $(STAGE1OBJS-CDROM) $(STAGE1_OWN_LIBS) $(FRONTEND_LINK) $(STAGE1_L
$(DIET) $(CC) $(LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
-stage1-disk: $(STAGE1OBJS-DISK) $(STAGE1_OWN_LIBS) $(FRONTEND_LINK) $(STAGE1_LIBC)
- $(DIET) $(CC) $(LDFLAGS_STAGE1) -o $@ $^
- $(STRIPCMD) $@
-
-stage1-medias-usb: $(STAGE1OBJS-MEDIAS-USB) $(STAGE1_OWN_LIBS) $(FRONTEND_LINK) $(STAGE1_LIBC)
- $(DIET) $(CC) $(LDFLAGS_STAGE1) -o $@ $^
- $(STRIPCMD) $@
-
stage1-network: $(STAGE1OBJS-NETWORK) $(STAGE1_OWN_LIBS) $(STAGE1_NETWORK_LIBS) $(FRONTEND_LINK) $(PCMCIA_LIB) $(STAGE1_LIBC)
$(DIET) $(CC) $(LDFLAGS_STAGE1) -o $@ $^
$(STRIPCMD) $@
@@ -246,12 +228,6 @@ $(INITOBJS-MANDRAKE_MOVE): %-MOVE.o: %.c
$(STAGE1OBJS-CDROM): %-CDROM.o: %.c
$(DIET) $(COMPILE) $(INCLUDES) $(CDROM_DEFS) -c $< -o $@
-$(STAGE1OBJS-DISK): %-DISK.o: %.c
- $(DIET) $(COMPILE) $(INCLUDES) $(DISK_DEFS) -c $< -o $@
-
-$(STAGE1OBJS-MEDIAS-USB): %-MEDIAS-USB.o: %.c
- $(DIET) $(COMPILE) $(INCLUDES) $(MEDIAS-USB_DEFS) $(USB_DEFS_GEN) -c $< -o $@
-
$(STAGE1OBJS-NETWORK): %-NETWORK.o: %.c
$(DIET) $(COMPILE) $(INCLUDES) $(NETWORK_DEFS) $(PCMCIA_DEFS) $(USB_DEFS_GEN) -c $< -o $@
@@ -292,10 +268,6 @@ endif
*-CDROM.o: %-CDROM.o: %.o
-*-DISK.o: %-DISK.o: %.o
-
-*-MEDIAS-USB.o: %-MEDIAS-USB.o: %.o
-
*-NETWORK.o: %-NETWORK.o: %.o
*-FULL.o: %-FULL.o: %.o