mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
scripts: dump the current tuple with show-config
This commit is contained in:
parent
3fb0463536
commit
964d20b1c7
@ -39,7 +39,8 @@ help-env::
|
||||
# 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))
|
||||
|
@ -23,6 +23,8 @@ dump_single_sample() {
|
||||
case "${sample}" in
|
||||
current)
|
||||
sample_type="l"
|
||||
sample="${current_tuple}"
|
||||
width="${#sample}"
|
||||
. .config
|
||||
;;
|
||||
*) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user