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)
commitbed8a583bdb6789e707802798e68faa169967f87
treeac2b4980a2d79a30d5d112c51101b50664e9f4d1
parentb7ad336fa2b3191e60bb117877ffaae7d31b5cb6
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