summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-25 16:39:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-25 16:39:38 +0000
commitb69b9c5328e19057833ff4ea3aa26c5b7b6844c3 (patch)
treeece1213e51d1573d50901e30002ea1fc1e322e09 /tools
parent1b8688dd3ec9e12d63159d3fbffa761c5fd4ecda (diff)
downloadmtk-20170518-b69b9c5328e19057833ff4ea3aa26c5b7b6844c3.zip
mtk-20170518-b69b9c5328e19057833ff4ea3aa26c5b7b6844c3.tar.gz
mtk-20170518-b69b9c5328e19057833ff4ea3aa26c5b7b6844c3.tar.bz2
b43-tools: get rid of the libfl dependency to fix build errors on mac os x
SVN-Revision: 33934
Diffstat (limited to 'tools')
-rw-r--r--tools/b43-tools/Makefile1
-rw-r--r--tools/b43-tools/patches/002-no_libfl.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/tools/b43-tools/Makefile b/tools/b43-tools/Makefile
index 391eb25..d58a20e 100644
--- a/tools/b43-tools/Makefile
+++ b/tools/b43-tools/Makefile
@@ -29,6 +29,7 @@ define Host/Compile
+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/assembler \
CFLAGS="$(HOST_CFLAGS) -include endian.h" \
$(HOST_MAKE_FLAGS) \
+ LDFLAGS= \
$(1) QUIET_SPARSE=:
endef
diff --git a/tools/b43-tools/patches/002-no_libfl.patch b/tools/b43-tools/patches/002-no_libfl.patch
new file mode 100644
index 0000000..2e55b08
--- /dev/null
+++ b/tools/b43-tools/patches/002-no_libfl.patch
@@ -0,0 +1,14 @@
+--- a/assembler/main.c
++++ b/assembler/main.c
+@@ -1268,6 +1268,11 @@ static void initialize(void)
+ #endif /* YYDEBUG */
+ }
+
++int yywrap(void)
++{
++ return 1;
++}
++
+ int main(int argc, char **argv)
+ {
+ int err, res = 1;