diff options
author | Alexey Neyman <stilor@att.net> | 2018-02-22 00:25:36 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-07 12:03:17 -0700 |
commit | 69df9ae9ddb806b42d962ae8a0b2b8f7b31f480e (patch) | |
tree | 5e23600df2ad384e15b1c6131e3e235993a6d4b6 /ct-ng.in | |
parent | dbe3877285549d1cdc549826673cdf8f07cf154c (diff) | |
download | crosstool-ng-69df9ae9ddb806b42d962ae8a0b2b8f7b31f480e.tar.gz crosstool-ng-69df9ae9ddb806b42d962ae8a0b2b8f7b31f480e.tar.bz2 crosstool-ng-69df9ae9ddb806b42d962ae8a0b2b8f7b31f480e.zip |
Remove the need for configure substitutions in scripts
... so that scripts/ directory can be installed verbatim.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,6 +22,10 @@ export CT_DOC_DIR:=@docdir@ # This is crosstool-NG version string export CT_VERSION:=@PACKAGE_VERSION@ +# Download agents used by scripts.mk +CT_WGET := @wget@ +CT_CURL := @curl@ + # Paths found by ./configure include $(CT_LIB_DIR)/paths.mk @@ -203,7 +207,8 @@ source: .config $(SILENT)CT_SOURCE=y $(bash) $(CT_LIB_DIR)/scripts/crosstool-NG.sh build: .config - $(SILENT)$(bash) $(CT_LIB_DIR)/scripts/crosstool-NG.sh + $(SILENT)BUILD_NCPUS=`@@CT_cpucount@@ 2>/dev/null || echo 0` \ + $(bash) $(CT_LIB_DIR)/scripts/crosstool-NG.sh build.%: $(SILENT)$(MAKE) -rf $(CT_NG) build CT_JOBS=$* |