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> SVN-Revision: 47109
This commit is contained in:
		| @@ -16,10 +16,13 @@ SUBTARGETS=generic p1020 | |||||||
|  |  | ||||||
| KERNEL_PATCHVER:=3.18 | KERNEL_PATCHVER:=3.18 | ||||||
|  |  | ||||||
| KERNEL_IMAGES := zImage cuImage.tl-wdr4900-v1 |  | ||||||
|  |  | ||||||
| include $(INCLUDE_DIR)/target.mk | include $(INCLUDE_DIR)/target.mk | ||||||
|  |  | ||||||
|  | KERNEL_IMAGES := zImage | ||||||
|  | ifeq ($(SUBTARGET),generic) | ||||||
|  | KERNEL_IMAGES += cuImage.tl-wdr4900-v1 | ||||||
|  | endif | ||||||
|  |  | ||||||
| DEFAULT_PACKAGES += \ | DEFAULT_PACKAGES += \ | ||||||
| 	kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \ | 	kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \ | ||||||
| 	kmod-leds-gpio kmod-booke-wdt \ | 	kmod-leds-gpio kmod-booke-wdt \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin