# HG changeset patch # User "Yann E. MORIN" # Date 1189618507 0 # Node ID 4beb099d5aa439f7276a691a542f0d378d7aabc5 # Parent 3538bcdf24cf10b12e8ff75244a154080f565290 Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash! Don't hardcode ncurses include and link flags. diff -r 3538bcdf24cf -r 4beb099d5aa4 kconfig/kconfig.mk --- a/kconfig/kconfig.mk Tue Sep 11 17:50:18 2007 +0000 +++ b/kconfig/kconfig.mk Wed Sep 12 17:35:07 2007 +0000 @@ -94,7 +94,8 @@ $(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=" + $(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 -r 3538bcdf24cf -r 4beb099d5aa4 tools/addToolVersion.sh --- a/tools/addToolVersion.sh Tue Sep 11 17:50:18 2007 +0000 +++ b/tools/addToolVersion.sh Wed Sep 12 17:35:07 2007 +0000 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Adds a new version to one of the toolchain component myname="$0" diff -r 3538bcdf24cf -r 4beb099d5aa4 tools/extract-config.sh --- a/tools/extract-config.sh Tue Sep 11 17:50:18 2007 +0000 +++ b/tools/extract-config.sh Wed Sep 12 17:35:07 2007 +0000 @@ -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.