1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-05-11 18:16:22 +02:00
openwrt/tools/bison
Michael Pratt 41bc16dcc4 tools/bison: hardcode path to m4 with STAGING_DIR_HOST
Force bison to ignore the M4 environment variable and hardcode it to the
locally built m4 during build operations using the relocatable path
variable STAGING_DIR_HOST.

This allows bison to continue to function while we are forcefully avoiding
autoreconf and other autoconf and automake-like operations by giving a
fake path to m4 with the M4 environment variable.

The specific path can still be overridden independently from the
environment within the line of invocation that runs bison by setting
STAGING_DIR_HOST within the command, so document this in the help printout.

Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2024-04-25 21:33:51 +02:00
..
patches tools/bison: hardcode path to m4 with STAGING_DIR_HOST 2024-04-25 21:33:51 +02:00
scripts bison: replace the yacc script with one that does not hardcode the path (fixes #20605) 2015-09-26 21:10:48 +00:00
Makefile tools: prefer gz or bz2 tarballs 2024-04-06 11:24:18 +02:00