# HG changeset patch # User "Yann E. MORIN" # Date 1264965014 -3600 # Node ID dcfe244fc65aa543a872515b4b6d1c6125d713a5 # Parent 9547490131d90de887aea05d5e6fda900d2e50cd scripts: dump the current tuple with show-config diff -r 9547490131d9 -r dcfe244fc65a samples/samples.mk --- a/samples/samples.mk Sun Jan 31 15:57:22 2010 +0100 +++ b/samples/samples.mk Sun Jan 31 20:10:14 2010 +0100 @@ -39,7 +39,8 @@ # Print the details of current configuration PHONY += show-config show-config: .config - @$(CT_LIB_DIR)/scripts/showSamples.sh -v current + @export current_tuple=$(shell $(MAKE) -rf "$(CT_NG)" show-tuple ); \ + $(CT_LIB_DIR)/scripts/showSamples.sh -v current # Prints the details of a sample PHONY += $(patsubst %,show-%,$(CT_SAMPLES)) diff -r 9547490131d9 -r dcfe244fc65a scripts/showSamples.sh --- a/scripts/showSamples.sh Sun Jan 31 15:57:22 2010 +0100 +++ b/scripts/showSamples.sh Sun Jan 31 20:10:14 2010 +0100 @@ -23,6 +23,8 @@ case "${sample}" in current) sample_type="l" + sample="${current_tuple}" + width="${#sample}" . .config ;; *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then