summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-07-14 16:25:47 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-07-14 16:25:47 (GMT)
commit9c75afd9d322a42573a69e9a45347eb2e3fa4b7c (patch)
tree1f7de7f9254652d3604041f0e1d9ccea68022fdf /kconfig
parent4e762e4918d8755e762db1db328760dfa5fc7a14 (diff)
configure: check for GNU awk, not any awk
Building glibc requires GNU awk, not any other. Reported-by: Han Sooloo <hansooloo@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/kconfig.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/kconfig/kconfig.mk b/kconfig/kconfig.mk
index cc6aa46..8748287 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