Makefile 839 B

123456789101112131415161718192021222324252627282930313233
  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:=audio boot-part display ext4 fpu gpio rootfs-part rtc squashfs usb usbgadget
  10. SUBTARGETS:=bcm2708 bcm2709 bcm2710 bcm2711 bcm2712
  11. KERNEL_PATCHVER:=6.12
  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 := $(filter-out urngd,$(DEFAULT_PACKAGES))
  18. DEFAULT_PACKAGES += \
  19. bcm27xx-gpu-fw bcm27xx-utils \
  20. kmod-usb-hid \
  21. kmod-sound-core kmod-sound-arm-bcm2835 \
  22. kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
  23. partx-utils mkf2fs e2fsprogs
  24. KERNELNAME:=Image dtbs
  25. $(eval $(call BuildTarget))