mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
kconfig: fix build on macOS
macOS version of sed doesn't recognize \r as special character. Replacing with \x0D substitution which works everywhere.
This commit is contained in:
parent
b1ac144874
commit
f5f625ead5
@ -302,7 +302,7 @@ zconf.lex.c: zconf.l
|
||||
|
||||
zconf.hash.c: zconf.gperf
|
||||
# strip CRs on Windows systems where gperf will otherwise barf on them
|
||||
sed -E "s/\r//" zconf.gperf | gperf -t --output-file zconf.hash.c -a -C -E -g -k '1,3,$$' -p -t
|
||||
sed -E "s/\\x0D$$//" zconf.gperf | gperf -t --output-file zconf.hash.c -a -C -E -g -k '1,3,$$' -p -t
|
||||
|
||||
zconf.tab.c: zconf.y
|
||||
bison -t -l -p zconf -o zconf.tab.c zconf.y
|
||||
|
Loading…
x
Reference in New Issue
Block a user