1.1 --- a/samples/samples.mk Sun Jan 31 15:57:22 2010 +0100
1.2 +++ b/samples/samples.mk Sun Jan 31 20:10:14 2010 +0100
1.3 @@ -39,7 +39,8 @@
1.4 # Print the details of current configuration
1.5 PHONY += show-config
1.6 show-config: .config
1.7 - @$(CT_LIB_DIR)/scripts/showSamples.sh -v current
1.8 + @export current_tuple=$(shell $(MAKE) -rf "$(CT_NG)" show-tuple ); \
1.9 + $(CT_LIB_DIR)/scripts/showSamples.sh -v current
1.10
1.11 # Prints the details of a sample
1.12 PHONY += $(patsubst %,show-%,$(CT_SAMPLES))
2.1 --- a/scripts/showSamples.sh Sun Jan 31 15:57:22 2010 +0100
2.2 +++ b/scripts/showSamples.sh Sun Jan 31 20:10:14 2010 +0100
2.3 @@ -23,6 +23,8 @@
2.4 case "${sample}" in
2.5 current)
2.6 sample_type="l"
2.7 + sample="${current_tuple}"
2.8 + width="${#sample}"
2.9 . .config
2.10 ;;
2.11 *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then