OSDN Git Service

kernel.mk: fix bison unable to find m4 file issue
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 27 Apr 2018 06:01:50 +0000 (14:01 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 29 Apr 2018 01:39:18 +0000 (09:39 +0800)
commit938b3496cbe5a2ecde2e508a924de62fbc677221
treed52b842138aea8fb5daec9801ecd9dd76d59a9e1
parent5cfaa3b012fcff04896ddbc8f12f2ff498c04f94
kernel.mk: fix bison unable to find m4 file issue

Android builds a version of bison which is unusable outside the tree.
Since the bison is invoked in the KBUILD_OUTPUT dir, the error is
generated:

bison: external/bison/data/m4sugar/m4sugar.m4: cannot open: No such file or directory

To workaround it, add a symlink to the external dir so that bison can
get the expected m4 file.
build/tasks/kernel.mk