rules.mk: Create TARGET_ASFLAGS; force -mno-mips16
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Apr 2013 12:35:53 +0000 (12:35 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Apr 2013 12:35:53 +0000 (12:35 +0000)
commit28dd9883f0907e282820a95694f9dd59879cd32c
treeac2b4980a2d79a30d5d112c51101b50664e9f4d1
parent49503ade69bd046e8387be04c4a34ad9c468608b
rules.mk: Create TARGET_ASFLAGS; force -mno-mips16

Create and use a TARGET_ASFLAGS, defaulting to TARGET_CFLAGS.

MIPS .S files reasonably assume they are not in mips16 mode. Because
"-mips16 -mno-mips16" results in -mno-mips16, I can append that to the
TARGET_ASFLAGS. This should be done with $(filter-out)?

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36197 3c298f89-4303-0410-b956-a3cf2f4a3e73
rules.mk