Makefile 833 B

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (C) 2012-2015 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. include $(INCLUDE_DIR)/host.mk
  9. ARCH:=arm
  10. BOARD:=brcm2708
  11. BOARDNAME:=Broadcom BCM2708/BCM2709
  12. FEATURES:=ext4 audio usb usbgadget display gpio
  13. MAINTAINER:=Florian Fainelli <florian@openwrt.org>
  14. CPU_TYPE:=arm1176jzf-s
  15. CPU_SUBTYPE:=vfp
  16. SUBTARGETS:=bcm2708 bcm2709
  17. KERNEL_PATCHVER:=3.18
  18. include $(INCLUDE_DIR)/target.mk
  19. DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
  20. define Target/Description
  21. Build firmware image for Broadcom BCM2708/BCM2709 SoC devices.
  22. Currently produces SD Card image for Raspberry Pi.
  23. endef
  24. KERNELNAME:=Image
  25. $(eval $(call BuildTarget))