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)
commit5b3445c60bb23b7414119482fb784f68fbcc82db
tree6b2b3bad8c475920b7ba4eb77f702fa272ee613b
parent35d716fbbba0f521d7b1cbdaccba6278341165f2
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>
SVN-Revision: 36197
rules.mk