Re: [OpenWrt-Devel] [Patch] [packages] mdk3: fix compile on platforms with VFP

2014-05-19 Thread Florian Fainelli
2014-05-11 10:07 GMT-07:00 Dirk Neukirchen dirkneukirc...@web.de:

 buildbot reported error on platforms with VFP (sunxi,imx6,omap):
 mdk3 uses VFP register arguments, /tmp/ccBN2WMD.o does not
 mdk3 uses VFP register arguments, osdep/libosdep.a(osdep.o) does not
 mdk3 uses VFP register arguments, osdep/libosdep.a(network.o) does not
 mdk3 uses VFP register arguments, osdep/libosdep.a(linux.o) does not
 mdk3 uses VFP register arguments, osdep/libosdep.a(radiotap-parser.o) does not
 mdk3 uses VFP register arguments, osdep/libosdep.a(common.o) does not
 with failed to merge target specific data of file ...

 CFLAGS were overwritten so append them instead

 Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de

Applied in r40789, thanks!
--
Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [Patch] [packages] mdk3: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen

buildbot reported error on platforms with VFP (sunxi,imx6,omap):
mdk3 uses VFP register arguments, /tmp/ccBN2WMD.o does not
mdk3 uses VFP register arguments, osdep/libosdep.a(osdep.o) does not
mdk3 uses VFP register arguments, osdep/libosdep.a(network.o) does not
mdk3 uses VFP register arguments, osdep/libosdep.a(linux.o) does not
mdk3 uses VFP register arguments, osdep/libosdep.a(radiotap-parser.o) does not
mdk3 uses VFP register arguments, osdep/libosdep.a(common.o) does not
with failed to merge target specific data of file ...

CFLAGS were overwritten so append them instead

Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de
---
 net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch | 8 
 1 file changed, 8 insertions(+)
 create mode 100644 net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch

diff --git a/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch 
b/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch
new file mode 100644
index 000..9a420c2
--- /dev/null
+++ b/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch
@@ -0,0 +1,8 @@
+--- a/Makefile
 b/Makefile
+@@ -1,4 +1,4 @@
+-CFLAGS= -g -O3 -Wall -Wextra
++CFLAGS+= -g -O3 -Wall -Wextra
+ LINKFLAGS = -lpthread
+ 
+ DESTDIR   =
-- 
2.0.0.rc2
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel