mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
Don't hardcode ncurses include and link flags.
This commit is contained in:
parent
8bbec81bc0
commit
2fe3a9dbbb
@ -94,7 +94,8 @@ $(obj):
|
||||
|
||||
$(obj)/mconf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/mconf.c
|
||||
@$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
|
||||
-lcurses "-DCURSES_LOC=<ncurses.h>"
|
||||
$(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ccflags) \
|
||||
$(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ldflags $(HOST_CC))
|
||||
|
||||
$(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c
|
||||
@$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{conf.c,zconf.tab.c}
|
||||
|
0
kconfig/lxdialog/check-lxdialog.sh
Normal file → Executable file
0
kconfig/lxdialog/check-lxdialog.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Adds a new version to one of the toolchain component
|
||||
myname="$0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# This scripts extracts a crosstool-NG configuration from the log file
|
||||
# of a toolchain build with crosstool-NG.
|
||||
|
Loading…
Reference in New Issue
Block a user