Makefile 611 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2009-2018 OpenWrt.org
  4. include $(TOPDIR)/rules.mk
  5. ARCH:=arm
  6. BOARD:=gemini
  7. BOARDNAME:=Cortina Systems CS351x
  8. FEATURES:=squashfs pci rtc usb dt gpio display ext4 rootfs-part boot-part
  9. CPU_TYPE:=fa526
  10. SUBTARGETS:=generic
  11. KERNEL_PATCHVER:=6.1
  12. define Target/Description
  13. Build firmware images for the StorLink/Cortina Gemini CS351x ARM FA526 CPU
  14. endef
  15. KERNELNAME:=zImage dtbs
  16. include $(INCLUDE_DIR)/target.mk
  17. DEFAULT_PACKAGES += \
  18. kmod-usb-fotg210 \
  19. kmod-usb-ledtrig-usbport \
  20. kmod-leds-gpio \
  21. kmod-gpio-button-hotplug
  22. $(eval $(call BuildTarget))