mpc85xx: use image metadata
[openwrt/openwrt.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.9
18
19 KERNELNAME:=zImage
20
21 include $(INCLUDE_DIR)/target.mk
22
23 DEFAULT_PACKAGES += \
24 kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
25 kmod-leds-gpio swconfig kmod-ath9k wpad-mini
26
27 $(eval $(call BuildTarget))