From 9c75afd9d322a42573a69e9a45347eb2e3fa4b7c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 14 Jul 2012 18:25:47 +0200 Subject: configure: check for GNU awk, not any awk Building glibc requires GNU awk, not any other. Reported-by: Han Sooloo Signed-off-by: "Yann E. MORIN" --- kconfig/kconfig.mk | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kconfig') diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk index cc6aa46f..8748287c 100644 --- a/kconfig/kconfig.mk +++ b/kconfig/kconfig.mk @@ -29,18 +29,18 @@ oldconfig: .config # Always be silent, the stdout an be >.config extractconfig: - @awk 'BEGIN { dump=0; } \ - dump==1 && $$0~/^\[.....\][[:space:]]+(# |)CT_/ { \ - $$1=""; \ - gsub("^[[:space:]]",""); \ - print; \ - } \ - $$0~/Dumping user-supplied crosstool-NG configuration: done in/ { \ - dump=0; \ - } \ - $$0~/Dumping user-supplied crosstool-NG configuration$$/ { \ - dump=1; \ - }' + @$(awk) 'BEGIN { dump=0; } \ + dump==1 && $$0~/^\[.....\][[:space:]]+(# |)CT_/ { \ + $$1=""; \ + gsub("^[[:space:]]",""); \ + print; \ + } \ + $$0~/Dumping user-supplied crosstool-NG configuration: done in/ { \ + dump=0; \ + } \ + $$0~/Dumping user-supplied crosstool-NG configuration$$/ { \ + dump=1; \ + }' #----------------------------------------------------------- # Help text used by make help -- cgit v1.2.3