diff options
author | Alexey Neyman <stilor@att.net> | 2015-10-30 01:04:39 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2015-10-30 01:23:53 -0700 |
commit | 319023c7afc4a48593240db4afe58ac57c4cc4a6 (patch) | |
tree | 291852127cee904f4e3598dea80a5e605aacf048 /ct-ng.in | |
parent | 55d8497fea996b070d8e7f6f6898e99e9981337a (diff) | |
download | crosstool-ng-319023c7afc4a48593240db4afe58ac57c4cc4a6.tar.gz crosstool-ng-319023c7afc4a48593240db4afe58ac57c4cc4a6.tar.bz2 crosstool-ng-319023c7afc4a48593240db4afe58ac57c4cc4a6.zip |
Implement 'ct-ng source'.
Provides a simpler alternative to editing config to enable
CT_ONLY_DOWNLOAD, doing ct-ng build and then restoring .config.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 4 |
1 files changed, 4 insertions, 0 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,6 +144,9 @@ 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 |