aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-05 10:25:28 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-05 10:25:28 +0000
commitc1402226a113774c4c565a8ab1a346278427d4ab (patch)
tree7eee4c4e59c50e13418861f9bbb68b0281c538bd /target/linux/mpc85xx
parente5bc159a7623fba1d4012ef303679520c23e91dc (diff)
downloadmaster-187ad058-c1402226a113774c4c565a8ab1a346278427d4ab.tar.gz
master-187ad058-c1402226a113774c4c565a8ab1a346278427d4ab.tar.bz2
master-187ad058-c1402226a113774c4c565a8ab1a346278427d4ab.zip
target/mpc85xx: check if 'generic' subtarget for image file cuImage.tl-wdr4900-v1
Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if the selected subtarget is 'generic'. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47109 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r--target/linux/mpc85xx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile
index e43327acd8..5f3ad6c3d4 100644
--- a/target/linux/mpc85xx/Makefile
+++ b/target/linux/mpc85xx/Makefile
@@ -16,10 +16,13 @@ SUBTARGETS=generic p1020
KERNEL_PATCHVER:=3.18
-KERNEL_IMAGES := zImage cuImage.tl-wdr4900-v1
-
include $(INCLUDE_DIR)/target.mk
+KERNEL_IMAGES := zImage
+ifeq ($(SUBTARGET),generic)
+KERNEL_IMAGES += cuImage.tl-wdr4900-v1
+endif
+
DEFAULT_PACKAGES += \
kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
kmod-leds-gpio kmod-booke-wdt \