[cns21xx]: optimize for the fa526 core
[openwrt/svn-archive/archive.git] / target / linux / cns21xx / Makefile
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
9 ARCH:=arm
10 BOARD:=cns21xx
11 BOARDNAME:=Cavium Networks CNS21xx
12 FEATURES:=squashfs broken
13 CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -funit-at-a-time
14
15 LINUX_VERSION:=2.6.36.4
16
17 include $(INCLUDE_DIR)/target.mk
18
19 DEFAULT_PACKAGES += \
20 kmod-leds-gpio kmod-input-core kmod-input-gpio-keys \
21 kmod-button-hotplug
22
23 define Target/Description
24 Build firmware images for Cavium Networks CNS21XX based boards.
25 endef
26
27 $(eval $(call BuildTarget))