global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead...
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / Makefile
1 #
2 # Copyright (C) 2008-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:=mips
10 BOARD:=ar71xx
11 BOARDNAME:=Atheros AR71xx/AR7240/AR913x
12 FEATURES:=squashfs jffs2 targz
13 CFLAGS:=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
14 SUBTARGETS:=generic nand
15
16 LINUX_VERSION:=2.6.37.4
17
18 include $(INCLUDE_DIR)/target.mk
19
20 DEFAULT_PACKAGES += \
21 kmod-leds-gpio kmod-input-core kmod-input-polldev \
22 kmod-input-gpio-buttons kmod-button-hotplug swconfig
23
24 define Target/Description
25 Build firmware images for Atheros AR71xx/AR913x based boards.
26 endef
27
28 $(eval $(call BuildTarget))