mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
df47e4c55b
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
36 lines
757 B
Makefile
36 lines
757 B
Makefile
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=powerpc
|
|
BOARD:=mpc85xx
|
|
BOARDNAME:=Freescale MPC85xx
|
|
CPU_TYPE:=8540
|
|
FEATURES:=squashfs
|
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
SUBTARGETS=generic p1020
|
|
|
|
KERNEL_PATCHVER:=3.18
|
|
|
|
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 \
|
|
swconfig kmod-ath9k wpad-mini
|
|
|
|
define Target/Description
|
|
Build images for the Freescale MPC85xx based boards.
|
|
endef
|
|
|
|
$(eval $(call BuildTarget))
|