Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 12 17:35:07 2007 +0000 (2007-09-12)
changeset 3754beb099d5aa4
parent 374 3538bcdf24cf
child 376 8a2c53a1b263
Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
Don't hardcode ncurses include and link flags.
kconfig/kconfig.mk
kconfig/lxdialog/check-lxdialog.sh
tools/addToolVersion.sh
tools/extract-config.sh
     1.1 --- a/kconfig/kconfig.mk	Tue Sep 11 17:50:18 2007 +0000
     1.2 +++ b/kconfig/kconfig.mk	Wed Sep 12 17:35:07 2007 +0000
     1.3 @@ -94,7 +94,8 @@
     1.4  
     1.5  $(obj)/mconf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/mconf.c
     1.6  	@$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
     1.7 -		-lcurses "-DCURSES_LOC=<ncurses.h>"
     1.8 +	     $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ccflags)              \
     1.9 +	     $(shell $(CT_LIB_DIR)/kconfig/lxdialog/check-lxdialog.sh -ldflags $(HOST_CC))
    1.10  
    1.11  $(obj)/conf:: $(SHIPPED) $(CT_LIB_DIR)/kconfig/conf.c
    1.12  	@$(HOST_CC) $(CFLAGS) -o $@ $(CT_LIB_DIR)/kconfig/{conf.c,zconf.tab.c}
     2.1 --- a/tools/addToolVersion.sh	Tue Sep 11 17:50:18 2007 +0000
     2.2 +++ b/tools/addToolVersion.sh	Wed Sep 12 17:35:07 2007 +0000
     2.3 @@ -1,4 +1,4 @@
     2.4 -#!/bin/sh
     2.5 +#!/bin/bash
     2.6  
     2.7  # Adds a new version to one of the toolchain component
     2.8  myname="$0"
     3.1 --- a/tools/extract-config.sh	Tue Sep 11 17:50:18 2007 +0000
     3.2 +++ b/tools/extract-config.sh	Wed Sep 12 17:35:07 2007 +0000
     3.3 @@ -1,4 +1,4 @@
     3.4 -#!/bin/sh
     3.5 +#!/bin/bash
     3.6  
     3.7  # This scripts extracts a crosstool-NG configuration from the log file
     3.8  # of a toolchain build with crosstool-NG.