rules.mk: Create TARGET_ASFLAGS; force -mno-mips16
authorFlorian Fainelli <florian@openwrt.org>
Fri, 5 Apr 2013 12:35:53 +0000 (12:35 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 5 Apr 2013 12:35:53 +0000 (12:35 +0000)
commita5e7050033445498293c13b4b8c6831684ad7298
treeac2b4980a2d79a30d5d112c51101b50664e9f4d1
parent3b9ea165f71bd87600544f9229e3c160a9636c7b
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