sunxi: add support for kernel 4.9
[openwrt/openwrt.git] / target / linux / sunxi / Makefile
1 #
2 # Copyright (C) 2013-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 ARCH:=arm
11 BOARD:=sunxi
12 BOARDNAME:=Allwinner A1x/A20/A3x
13 FEATURES:=fpu usb ext4 display rtc squashfs
14 CPU_TYPE:=cortex-a8
15 CPU_SUBTYPE:=vfpv3
16 MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
17
18 KERNEL_PATCHVER:=4.9
19 KERNELNAME:=zImage dtbs
20
21 # A10: Cortex-A8
22 # A13: Cortex-A8
23 # A20: dual Cortex-A7
24 # A31: quad Cortex-A7
25 # A80: octa Cortex-A15/A7
26 # H3: quad Cortex-A7
27
28 include $(INCLUDE_DIR)/target.mk
29
30 DEFAULT_PACKAGES += uboot-envtools
31 DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs
32
33 $(eval $(call BuildTarget))