summaryrefslogtreecommitdiff
path: root/package/madwifi/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-01 12:08:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-01 12:08:02 +0000
commit40720b6d2027e49c59718c3650c93bc6771a38b3 (patch)
treeb711c53a21da9fba05967da7802c475bf977a3a1 /package/madwifi/Makefile
parent193949d2c6ba547f0e37c79a52a7254aa529f0a3 (diff)
downloadmtk-20170518-40720b6d2027e49c59718c3650c93bc6771a38b3.zip
mtk-20170518-40720b6d2027e49c59718c3650c93bc6771a38b3.tar.gz
mtk-20170518-40720b6d2027e49c59718c3650c93bc6771a38b3.tar.bz2
madwifi: fix cflags for generic mips hal
SVN-Revision: 11319
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r--package/madwifi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 27c2952..496e5e6 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -166,6 +166,7 @@ ifneq ($(HALFILE),)
rm -rf $(PKG_BUILD_DIR)/tmp
# patch cflags
$(SED) 's, -E[LB],,' \
+ -e 's, -mips2,,' \
-e 's, -mapcs-32,,' \
$(PKG_BUILD_DIR)/hal/public/*.inc
$(SED) 's,march=armv4,march=armv5te,' \