[Buildroot] svn commit: trunk/buildroot/target/initramfs

jacmet at uclibc.org jacmet at uclibc.org
Mon Dec 8 13:42:04 UTC 2008


Author: jacmet
Date: 2008-12-08 05:42:04 -0800 (Mon, 08 Dec 2008)
New Revision: 24322

Log:
target/initramfs: actually build initramfs target

Currently, BR2_TARGET_ROOTFS_INITRAMFS doesn't actually do anything,
as it doesn't alter $(TARGETS)

This change hooks up the TARGETS variable to INITRAMFS_TARGET (which
is only set if BR2_TARGET_ROOTFS_INITRAMFS=y), so that the initramfs
list is built.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

Modified:
   trunk/buildroot/target/initramfs/initramfs.mk


Changeset:
Modified: trunk/buildroot/target/initramfs/initramfs.mk
===================================================================
--- trunk/buildroot/target/initramfs/initramfs.mk	2008-12-08 13:42:01 UTC (rev 24321)
+++ trunk/buildroot/target/initramfs/initramfs.mk	2008-12-08 13:42:04 UTC (rev 24322)
@@ -12,6 +12,8 @@
 INITRAMFS_TARGET:= #nothing
 endif
 
+TARGETS+=$(INITRAMFS_TARGET)
+
 $(INITRAMFS_TARGET) initramfs: host-fakeroot makedevs
 	rm -f $(TARGET_DIR)/init
 	ln -s sbin/init $(TARGET_DIR)/init




More information about the buildroot mailing list