diff options
author | John Crispin <blogic@openwrt.org> | 2016-03-03 20:24:41 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-03-03 20:24:41 +0000 |
commit | ae5a3c9836bfff8b52faac07328e70ee4e33f4a0 (patch) | |
tree | eae035b6e5851102b4a66d6bc000c125a3e0a8ea /target | |
parent | 44eafcfd2679a74a7fb1a22c41827547006214c5 (diff) | |
download | master-187ad058-ae5a3c9836bfff8b52faac07328e70ee4e33f4a0.tar.gz master-187ad058-ae5a3c9836bfff8b52faac07328e70ee4e33f4a0.tar.bz2 master-187ad058-ae5a3c9836bfff8b52faac07328e70ee4e33f4a0.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48892 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mpc85xx/image/Makefile | 2 |
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 |