build: fix subtarget descriptions
[openwrt/staging/dedeckeh.git] / target / linux / mpc85xx / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=powerpc
10 BOARD:=mpc85xx
11 BOARDNAME:=Freescale MPC85xx
12 CPU_TYPE:=8540
13 FEATURES:=squashfs
14 MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
15 SUBTARGETS=generic p1020
16
17 KERNEL_PATCHVER:=4.4
18
19 define Target/Description
20 Build images for the Freescale MPC85xx based boards.
21 endef
22
23 include $(INCLUDE_DIR)/target.mk
24
25 KERNEL_IMAGES := zImage
26 ifeq ($(SUBTARGET),generic)
27 KERNEL_IMAGES += cuImage.tl-wdr4900-v1
28 endif
29
30 DEFAULT_PACKAGES += \
31 kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
32 kmod-leds-gpio swconfig kmod-ath9k wpad-mini
33
34 $(eval $(call BuildTarget))