summaryrefslogtreecommitdiff
path: root/scripts/scripts.mk
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2015-10-30 02:34:24 (GMT)
committerAlexey Neyman <stilor@att.net>2015-10-30 23:24:52 (GMT)
commit5844514e74eac69b71c1e1661676dd88e4450610 (patch)
treec59b6d1ebfb892cd69cdc6019ca9c28a9ad5d3fb /scripts/scripts.mk
parent1ad356c1789523ea7124108db8fd4b834e50558d (diff)
Fix samples using GMP 4.3.2.
Some older versions of configure (including the one in GMP 4.3.2) interpret the $ECHO environment variable as the `echo' utility to use. CT-NG sets the variable to `:' and exports it if V=0 or V=1 is supplied, breaking the samples using such configure. This currently includes bfin-unknown-linux-uclibc and powerpc-unknown-linux-uclibc. Also, correct the description of the V= variable - V=0 is *not* the default; in fact, default does not correspond to any of the V=[012] values. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/scripts.mk')
-rw-r--r--scripts/scripts.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/scripts.mk b/scripts/scripts.mk
index 8373f9b..77368a7 100644
--- a/scripts/scripts.mk
+++ b/scripts/scripts.mk
@@ -33,16 +33,16 @@ endif
PHONY += scripts
scripts:
- @$(ECHO) ' MKDIR $@'
+ @$(CT_ECHO) ' MKDIR $@'
$(SILENT)mkdir -p $@
$(CONFIG_SUB_DEST): scripts FORCE
- @$(ECHO) ' WGET $@'
+ @$(CT_ECHO) ' WGET $@'
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
$(SILENT)chmod u+rwx,go+rx-w $@
$(CONFIG_GUESS_DEST): scripts FORCE
- @$(ECHO) ' WGET $@'
+ @$(CT_ECHO) ' WGET $@'
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
$(SILENT)chmod u+rwx,go+rx-w $@
@@ -50,5 +50,5 @@ $(CONFIG_GUESS_DEST): scripts FORCE
# Clean up the mess
distclean::
- @$(ECHO) " CLEAN scripts"
+ @$(CT_ECHO) " CLEAN scripts"
$(SILENT)[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/scripts