aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-03 20:24:41 +0000
committerJohn Crispin <john@openwrt.org>2016-03-03 20:24:41 +0000
commit74c6b2197365575d86d0c5e0b706f574311d9640 (patch)
treea7594ad4d19d51c1eda00605c3c9dff161a2b1a4 /target/linux
parent4a4c324cd22e590990e323ed0ece974c7fa00d22 (diff)
downloadupstream-74c6b2197365575d86d0c5e0b706f574311d9640.tar.gz
upstream-74c6b2197365575d86d0c5e0b706f574311d9640.tar.bz2
upstream-74c6b2197365575d86d0c5e0b706f574311d9640.zip
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 <ardeleanalex@gmail.com> SVN-Revision: 48892
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mpc85xx/image/Makefile2
1 files changed, 2 insertions, 0 deletions
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