Makefile 780 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Copyright (C) 2009-2018 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:=gemini
  10. BOARDNAME:=Cortina Systems CS351x
  11. FEATURES:=squashfs pci rtc usb dt gpio display ext4 rootfs-part boot-part
  12. CPU_TYPE:=fa526
  13. MAINTAINER:=Roman Yeryomin <[email protected]>
  14. KERNEL_PATCHVER:=4.14
  15. KERNEL_TESTING_PATCHVER := 4.19
  16. define Target/Description
  17. Build firmware images for the StorLink/Cortina Gemini CS351x ARM FA526 CPU
  18. endef
  19. KERNELNAME:=zImage dtbs
  20. include $(INCLUDE_DIR)/target.mk
  21. DEFAULT_PACKAGES += \
  22. kmod-usb-core kmod-usb-fotg210 \
  23. kmod-usb-ledtrig-usbport \
  24. kmod-leds-gpio kmod-ledtrig-heartbeat \
  25. kmod-gpio-button-hotplug
  26. $(eval $(call BuildTarget))