diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-03 00:35:30 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-03 00:35:30 -0800 |
commit | 5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56 (patch) | |
tree | 010f2c18d1137b7a1f35370c1aca82573090bc09 /ct-ng.in | |
parent | 8c87c3d7195c3cd43253ab73745216dddb8bec3c (diff) | |
parent | f849505ac94a3f616fc3af243f50be42409335ca (diff) | |
download | crosstool-ng-5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56.tar.gz crosstool-ng-5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56.tar.bz2 crosstool-ng-5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56.zip |
Merge pull request #235 from stilor/ctng-source
ctng source
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -104,6 +104,7 @@ help-tail:: @echo 'See "man 1 $(notdir $(CT_NG))" for some help as well' help-build:: + @echo ' source - Download sources for currently configured toolchain' @echo ' build[.#] - Build the currently configured toolchain' help-clean:: @@ -143,11 +144,14 @@ show-tuple: .config.2 $(SILENT)$(bash) $(CT_LIB_DIR)/scripts/showTuple.sh # Actual build +source: .config.2 + $(SILENT)CT_SOURCE=y $(CT_LIB_DIR)/scripts/crosstool-NG.sh + build: .config.2 $(SILENT)$(CT_LIB_DIR)/scripts/crosstool-NG.sh build.%: - $(SILENT)$(MAKE) -rf $(CT_NG) $(shell echo "$(@)" |$(sed) -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;') + $(SILENT)$(MAKE) -rf $(CT_NG) build CT_JOBS=$* PHONY += version version: |