b43-tools: fix compile error: undefined reference to `yydebug'
authorHauke Mehrtens <hauke@openwrt.org>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
commitb9491289f06c1d1923a626c61358ea5357e806e9
treebf48e1d931f1e33be6b9a6354d836b786c3b1cd4
parent9e8653183ab83205806cd0de850c54d8adde67dd
b43-tools: fix compile error: undefined reference to `yydebug'

With bison 2.7 YYDEBUG will be set to 0 if it was not set, then #ifdef
YYDEBUG returns true, but bison 2.7 treets YYDEBUG 0 as not set.

This fixes the following error:
obj/main.o: In function `main':
main.c:(.text.startup+0xaf): undefined reference to `yydebug'
collect2: error: ld returned 1 exit status

This closes #13093.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35830 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/b43-tools/patches/100-b43-asm-fix-compile-error-undefined-reference-to-yyd.patch [new file with mode: 0644]