From 7240948af4cbb8daa1f181943fc408b85f045c7f Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 3 Mar 2016 20:24:41 +0000 Subject: [PATCH 1/1] target/mpc85xx: check for 'generic' subtarget for initramfs image file Copy 'cuImage.tl-wdr4900-v1-initramfs' only for the 'generic' subtarget. This is a follow-up to: http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=b889fe55c1844aec2c03da28fecb03e958c21f18 We build our initramfs images more rarely, so it took a while to catch this too. Signed-off-by: Alexandru Ardelean git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48892 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/mpc85xx/image/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 3c3f100d19..25a9b070c5 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -32,7 +32,9 @@ endef define Image/BuildKernel/Initramfs cp $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-initramfs-zImage +ifeq ($(SUBTARGET),generic) cp $(KDIR)/cuImage.tl-wdr4900-v1-initramfs $(BIN_DIR)/$(IMG_PREFIX)-tl-wdr4900-v1-initramfs.uImage +endif endef define Image/Build/TPLINK -- 2.11.0