diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-26 18:36:02 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-01-26 18:36:02 (GMT) |
commit | c7a1e6a4da2d341cae16d86db1db3bbf4334ffe2 (patch) | |
tree | a41cf6f252ebf26f443eeb1c9266e42f0405304a /config | |
parent | 44596c425f79f0c92fdbfcd6d931105ac52c338d (diff) |
Use the paths found by ./configure in the ct-ng.in makefile script and its fragments.
/trunk/kconfig/kconfig.mk | 2 1 1 0 +-
/trunk/samples/samples.mk | 18 9 9 0 +++++++++---------
/trunk/config/config.mk | 10 5 5 0 +++++-----
/trunk/ct-ng.in | 22 13 9 0 +++++++++++++---------
4 files changed, 28 insertions(+), 24 deletions(-)
Diffstat (limited to 'config')
-rw-r--r-- | config/config.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/config.mk b/config/config.mk index 038ba72..7581234 100644 --- a/config/config.mk +++ b/config/config.mk @@ -84,11 +84,11 @@ define build_gen_choice_in echo ""; \ for entry in $(5); do \ file="$(4)/$${entry}.in"; \ - _entry=$$(echo "$${entry}" |sed -r -s -e 's/[-.+]/_/g;'); \ + _entry=$$(echo "$${entry}" |$(sed) -r -s -e 's/[-.+]/_/g;'); \ echo "config $(3)_$${_entry}"; \ echo " bool"; \ printf " prompt \"$${entry}"; \ - if grep -E '^# +EXPERIMENTAL$$' $${file} >/dev/null 2>&1; then \ + if $(grep) -E '^# +EXPERIMENTAL$$' $${file} >/dev/null 2>&1; then \ echo " (EXPERIMENTAL)\""; \ echo " depends on EXPERIMENTAL"; \ else \ @@ -99,7 +99,7 @@ define build_gen_choice_in echo "endchoice"; \ for entry in $(5); do \ file="$(4)/$${entry}.in"; \ - _entry=$$(echo "$${entry}" |sed -r -s -e 's/[-.+]/_/g;'); \ + _entry=$$(echo "$${entry}" |$(sed) -r -s -e 's/[-.+]/_/g;'); \ echo ""; \ echo "if $(3)_$${_entry}"; \ echo "config $(3)"; \ @@ -127,11 +127,11 @@ define build_gen_menu_in echo ""; \ for entry in $(5); do \ file="$(4)/$${entry}.in"; \ - _entry=$$(echo "$${entry}" |sed -r -s -e 's/[-.+]/_/g;'); \ + _entry=$$(echo "$${entry}" |$(sed) -r -s -e 's/[-.+]/_/g;'); \ echo "menuconfig $(3)_$${_entry}"; \ echo " bool"; \ printf " prompt \"$${entry}"; \ - if grep -E '^# +EXPERIMENTAL$$' $${file} >/dev/null 2>&1; then \ + if $(grep) -E '^# +EXPERIMENTAL$$' $${file} >/dev/null 2>&1; then \ echo " (EXPERIMENTAL)\""; \ echo " depends on EXPERIMENTAL"; \ else \ |