Makefile 620 B

123456789101112131415161718192021222324252627
  1. #
  2. # Copyright (C) 2010-2011 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. ARCH:=arm
  9. BOARD:=cns21xx
  10. BOARDNAME:=Cavium Networks Econa CNS21xx
  11. FEATURES:=squashfs broken
  12. CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
  13. LINUX_VERSION:=3.3.8
  14. include $(INCLUDE_DIR)/target.mk
  15. DEFAULT_PACKAGES += \
  16. kmod-leds-gpio kmod-input-core kmod-input-gpio-keys \
  17. kmod-button-hotplug
  18. define Target/Description
  19. Build firmware images for Cavium Networks CNS21XX based boards.
  20. endef
  21. $(eval $(call BuildTarget))