zynq: convert to new image build code
[openwrt/openwrt.git] / target / linux / zynq / Makefile
1 #
2 # Copyright (C) 2015 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 include $(INCLUDE_DIR)/host.mk
9
10 ARCH:=arm
11 BOARD:=zynq
12 BOARDNAME:=Xilinx Zynq 7000 SoCs
13 FEATURES:=fpu gpio rtc usb usbgadget targz
14 CPU_TYPE:=cortex-a9
15 CPU_SUBTYPE:=neon
16 MAINTAINER:=Jason Wu <jason.wu.misc@gamil.com>
17
18 # future support SUBTARGETS: for both zynq and zynqmp
19
20 define Target/Description
21 Build firmware image for Zynq 7000 SoC devices.
22 endef
23
24 KERNEL_PATCHVER:=4.4
25
26 include $(INCLUDE_DIR)/target.mk
27
28 KERNELNAME:=zImage dtbs
29
30 DEFAULT_PACKAGES += uboot-envtools
31
32 $(eval $(call BuildTarget))