diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-12 17:35:07 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-12 17:35:07 +0000 |
commit | 2fe3a9dbbbee635b22d0f01de13a5e85c7f05f70 (patch) | |
tree | 27c6fee787a131842c686169bce9daf0dcdef4b3 | |
parent | 8bbec81bc0edd901e54b745a180bccbaad9546ef (diff) | |
download | crosstool-ng-2fe3a9dbbbee635b22d0f01de13a5e85c7f05f70.tar.gz crosstool-ng-2fe3a9dbbbee635b22d0f01de13a5e85c7f05f70.tar.bz2 crosstool-ng-2fe3a9dbbbee635b22d0f01de13a5e85c7f05f70.zip |
Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
Don't hardcode ncurses include and link flags.
-rw-r--r-- | kconfig/kconfig.mk | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | kconfig/lxdialog/check-lxdialog.sh | 0 | ||||
-rwxr-xr-x | tools/addToolVersion.sh | 2 | ||||
-rwxr-xr-x | tools/extract-config.sh | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index cf6868d7..fe234a5c 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -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} diff --git a/kconfig/lxdialog/check-lxdialog.sh b/kconfig/lxdialog/check-lxdialog.sh index 120d624e..120d624e 100644..100755 --- a/kconfig/lxdialog/check-lxdialog.sh +++ b/kconfig/lxdialog/check-lxdialog.sh diff --git a/tools/addToolVersion.sh b/tools/addToolVersion.sh index 8351d677..78e029d4 100755 --- a/tools/addToolVersion.sh +++ b/tools/addToolVersion.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Adds a new version to one of the toolchain component myname="$0" diff --git a/tools/extract-config.sh b/tools/extract-config.sh index b5c77c64..38646522 100755 --- a/tools/extract-config.sh +++ b/tools/extract-config.sh @@ -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. |