kernel: fix portability issue with perf on linux 5.4
[oweals/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
9 ARCH:=arm
10 BOARD:=zynq
11 BOARDNAME:=Xilinx Zynq 7000 SoCs
12 FEATURES:=fpu gpio rtc usb usbgadget boot-part rootfs-part squashfs
13 CPU_TYPE:=cortex-a9
14 CPU_SUBTYPE:=neon
15
16 # future support SUBTARGETS: for both zynq and zynqmp
17
18 define Target/Description
19         Build firmware image for Zynq 7000 SoC devices.
20 endef
21
22 KERNEL_PATCHVER:=5.4
23
24 include $(INCLUDE_DIR)/target.mk
25
26 KERNELNAME:=Image dtbs
27
28 DEFAULT_PACKAGES += uboot-envtools mkf2fs e2fsprogs \
29         kmod-usb-storage kmod-fs-msdos
30
31 $(eval $(call BuildTarget))