Author: blogic Date: 2015-10-05 12:25:28 +0200 (Mon, 05 Oct 2015) New Revision: 47109
Modified: trunk/target/linux/mpc85xx/Makefile Log: 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 <[email protected]> Modified: trunk/target/linux/mpc85xx/Makefile =================================================================== --- trunk/target/linux/mpc85xx/Makefile 2015-10-05 09:10:17 UTC (rev 47108) +++ trunk/target/linux/mpc85xx/Makefile 2015-10-05 10:25:28 UTC (rev 47109) @@ -16,10 +16,13 @@ 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 \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
