Makefile 870 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Copyright (C) 2012-2016 OpenWrt.org
  3. # Copyright (C) 2017 LEDE project
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. include $(TOPDIR)/rules.mk
  9. ARCH:=arm
  10. BOARD:=brcm2708
  11. BOARDNAME:=Broadcom BCM27xx
  12. FEATURES:=ext4 audio usb usbgadget display gpio fpu
  13. MAINTAINER:=Álvaro Fernández Rojas <[email protected]>
  14. SUBTARGETS:=bcm2708 bcm2709 bcm2710
  15. KERNEL_PATCHVER:=4.9
  16. define Target/Description
  17. Build firmware image for Broadcom BCM27xx SoC devices.
  18. Currently produces SD Card image for Raspberry Pi.
  19. endef
  20. include $(INCLUDE_DIR)/target.mk
  21. DEFAULT_PACKAGES += \
  22. brcm2708-gpu-fw \
  23. kmod-usb-hid \
  24. kmod-sound-core kmod-sound-arm-bcm2835 \
  25. kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
  26. brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini
  27. KERNELNAME:=Image dtbs
  28. $(eval $(call BuildTarget))