Makefile 721 B

1234567891011121314151617181920212223242526272829303132
  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. ARCH:=arm
  9. BOARD:=zynq
  10. BOARDNAME:=Xilinx Zynq 7000 SoCs
  11. FEATURES:=fpu gpio rtc usb usbgadget boot-part rootfs-part squashfs
  12. CPU_TYPE:=cortex-a9
  13. CPU_SUBTYPE:=neon
  14. MAINTAINER:=Jason Wu <[email protected]>
  15. # future support SUBTARGETS: for both zynq and zynqmp
  16. define Target/Description
  17. Build firmware image for Zynq 7000 SoC devices.
  18. endef
  19. KERNEL_PATCHVER:=4.19
  20. include $(INCLUDE_DIR)/target.mk
  21. KERNELNAME:=Image dtbs
  22. DEFAULT_PACKAGES += uboot-envtools mkf2fs e2fsprogs \
  23. kmod-usb-storage kmod-fs-msdos
  24. $(eval $(call BuildTarget))