Makefile 771 B

12345678910111213141516171819202122232425262728
  1. #
  2. # Copyright (C) 2012 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/BCM2835
  12. FEATURES:=ext4 audio usb usbgadget display gpio
  13. MAINTAINER:=Ian Ridge <ianridge[at]gmail.com>
  14. LINUX_VERSION:=3.3.8
  15. include $(INCLUDE_DIR)/target.mk
  16. DEFAULT_PACKAGES += brcm2708-gpu-fw kmod-usb-hid kmod-sound-core kmod-sound-arm-bcm2835
  17. define Target/Description
  18. Build firmware image for Broadcom BCM2708/BCM2835 SoC devices.
  19. Currently produces SD Card image for Raspberry Pi.
  20. endef
  21. CFLAGS:=-pipe -march=armv6 -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm
  22. $(eval $(call BuildTarget))