diff options
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=$* |