summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-17 17:59:07 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-17 17:59:07 +0000
commit0f6650e98e8ca31b088adc493444ee80ef727e07 (patch)
treec87f5925c838615485f09c570fa52f24a5dcb549 /mdk-stage1/Makefile
parent285590e22a5f97545176a767fd399326dcb5c917 (diff)
downloaddrakx-backup-do-not-use-0f6650e98e8ca31b088adc493444ee80ef727e07.tar
drakx-backup-do-not-use-0f6650e98e8ca31b088adc493444ee80ef727e07.tar.gz
drakx-backup-do-not-use-0f6650e98e8ca31b088adc493444ee80ef727e07.tar.bz2
drakx-backup-do-not-use-0f6650e98e8ca31b088adc493444ee80ef727e07.tar.xz
drakx-backup-do-not-use-0f6650e98e8ca31b088adc493444ee80ef727e07.zip
add firmware loader written in C (based on hotplug2) (mga#6323)
Diffstat (limited to 'mdk-stage1/Makefile')
-rw-r--r--mdk-stage1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index b9d961772..3f145e311 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -128,7 +128,7 @@ NETWORK_STANDALONE_DEFS = -DDISABLE_CDROM -DDISABLE_DISK -DENABLE_NETWORK_STANDA
STAGE1OBJS-FULL = $(subst .c,-FULL.o,$(STAGE1_ALLSRC))
-BINS = init stage1 dhcp-client rescue-gui probe-modules
+BINS = init stage1 dhcp-client rescue-gui probe-modules hotplug
DIRS += pci-resource usb-resource
ifeq (i386, $(ARCH))
@@ -196,6 +196,10 @@ localclean:
rm -f *.o .depend *.rdz *.img $(BINS)
+hotplug: hotplug.o
+ $(DIET) $(CC) $(LDFLAGS) -o $@ $^
+ $(STRIPCMD) $@
+
rescue-gui: rescue-gui.o frontend-common.o params.o utils.o log.o automatic.o $(FRONTEND_LINK) $(STAGE1_LIBC)
$(DIET) $(CC) $(LDFLAGS) -o $@ $^
$(STRIPCMD) $@