Makefile 750 B

12345678910111213141516171819202122232425262728293031
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2012-2020 OpenWrt.org
  4. # Copyright (C) 2017 LEDE project
  5. include $(TOPDIR)/rules.mk
  6. ARCH:=arm
  7. BOARD:=bcm27xx
  8. BOARDNAME:=Broadcom BCM27xx
  9. FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part boot-part
  10. SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711
  11. KERNEL_PATCHVER=5.4
  12. define Target/Description
  13. Build firmware image for Broadcom BCM27xx SoC devices.
  14. Currently produces SD Card image for Raspberry Pi.
  15. endef
  16. include $(INCLUDE_DIR)/target.mk
  17. DEFAULT_PACKAGES += \
  18. bcm27xx-gpu-fw \
  19. kmod-usb-hid \
  20. kmod-sound-core kmod-sound-arm-bcm2835 \
  21. kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
  22. partx-utils mkf2fs e2fsprogs
  23. KERNELNAME:=Image dtbs
  24. $(eval $(call BuildTarget))