build: unify arm target cflags
[openwrt/svn-archive/archive.git] / target / linux / omap24xx / Makefile
index a91b0d2d13eb2829fb501b557a35b604bd240be5..f8cd3c51153e69748ab3e95818f6566bd29794aa 100644 (file)
@@ -11,6 +11,7 @@ BOARD:=omap24xx
 BOARDNAME:=TI OMAP24xx
 MAINTAINER:=Michael Buesch <m@bues.ch>
 FEATURES:=targz squashfs jffs2_nand usb usbgadget display gpio audio broken
+CPU_TYPE:=arm1136j-s
 
 LINUX_VERSION:=3.3.8
 
@@ -18,8 +19,6 @@ define Target/Description
        TI OMAP-24xx
 endef
 
-CFLAGS:=-Os -pipe -march=armv6 -mtune=arm1136j-s -fno-caller-saves
-
 KERNELNAME:="zImage"
 
 include $(INCLUDE_DIR)/target.mk