build: unify target independent optimization options
[openwrt/svn-archive/archive.git] / target / linux / realview / 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:=realview
11 BOARDNAME:=ARM Ltd. Realview board (qemu)
12 FEATURES:=fpu ramdisk
13 CFLAGS:=-Os -pipe -march=armv6k -mtune=mpcore -mfloat-abi=softfp -mfpu=vfp
14 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
15
16 LINUX_VERSION:=3.10.3
17
18 DEVICE_TYPE:=developerboard
19
20 include $(INCLUDE_DIR)/target.mk
21
22 define Target/Description
23 Build images for ARM Ltd. Realview boards to be run with qemu
24 endef
25
26 KERNELNAME:="zImage"
27
28 $(eval $(call BuildTarget))