global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead...
[openwrt.git] / target / linux / octeon / Makefile
1 #
2 # Copyright (C) 2009-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:=octeon
11 BOARDNAME:=Cavium Networks Octeon
12 FEATURES:=squashfs jffs2 pci usb
13 CFLAGS:=-Os -pipe -march=octeon -fno-caller-saves
14
15 LINUX_VERSION:=2.6.37.4
16
17 include $(INCLUDE_DIR)/target.mk
18
19 DEFAULT_PACKAGES += wpad-mini
20
21 define Target/Description
22         Build firmware images for Cavium Networks Octeon-based boards.
23 endef
24
25 $(eval $(call BuildTarget))