diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-05-13 18:10:47 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-05-13 18:10:47 +0000 |
commit | e89072b5a5922a08bcf3f1f10f3bd12806918f23 (patch) | |
tree | d48438023543db61b9e8c1efe01127293cf1130a /ct-ng.in | |
parent | 1c1d672f87c1fbf0428486f0eeb4f2791483570a (diff) | |
download | crosstool-ng-e89072b5a5922a08bcf3f1f10f3bd12806918f23.tar.gz crosstool-ng-e89072b5a5922a08bcf3f1f10f3bd12806918f23.tar.bz2 crosstool-ng-e89072b5a5922a08bcf3f1f10f3bd12806918f23.zip |
Add a new action: show-tuple
- in a directory containing a crosstool-NG configuration,
prints the tuple of the configured target to stdout.
-------- diffstat follows --------
/trunk/Makefile.in | 4 3 1 0 +++-
/trunk/scripts/showTuple.sh.in | 30 30 0 0 ++++++++++++++++++++++++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
/trunk/ct-ng.in | 10 9 1 0 +++++++++-
4 files changed, 43 insertions(+), 3 deletions(-)
Diffstat (limited to 'ct-ng.in')
-rw-r--r-- | ct-ng.in | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -111,6 +111,9 @@ include $(CT_LIB_DIR)/steps.mk include $(CT_LIB_DIR)/samples/samples.mk include $(CT_LIB_DIR)/scripts/scripts.mk +help-config:: + @echo ' show-tuple - Print the tuple of the currently configured toolchain' + help-distrib:: @echo ' tarball - Build a tarball of the configured toolchain' @@ -119,9 +122,14 @@ help-env:: # End help system .config: - @echo ' There is no existing .config file!' + @echo "There is no existing .config file!" + @echo "You need to either run 'menuconfig'," + @echo "or configure an existing sample." @false +show-tuple: .config + $(SILENT)$(bash) $(CT_LIB_DIR)/scripts/showTuple.sh + # Actual build build: .config $(SILENT)$(CT_LIB_DIR)/scripts/crosstool-NG.sh |