From: Peter Korsgaard Date: Mon, 8 Dec 2008 13:42:04 +0000 (-0000) Subject: target/initramfs: actually build initramfs target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cb7952b40a2c40b3c2b451f1d6c028cd439be02;p=buildroot.git 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 --- diff --git a/target/initramfs/initramfs.mk b/target/initramfs/initramfs.mk index 830d309950..6ace2f1146 100644 --- a/target/initramfs/initramfs.mk +++ b/target/initramfs/initramfs.mk @@ -12,6 +12,8 @@ else 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