mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-29 15:44:03 +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
|
# Print the details of current configuration
|
||||||
PHONY += show-config
|
PHONY += show-config
|
||||||
show-config: .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
|
# Prints the details of a sample
|
||||||
PHONY += $(patsubst %,show-%,$(CT_SAMPLES))
|
PHONY += $(patsubst %,show-%,$(CT_SAMPLES))
|
||||||
|
@ -23,6 +23,8 @@ dump_single_sample() {
|
|||||||
case "${sample}" in
|
case "${sample}" in
|
||||||
current)
|
current)
|
||||||
sample_type="l"
|
sample_type="l"
|
||||||
|
sample="${current_tuple}"
|
||||||
|
width="${#sample}"
|
||||||
. .config
|
. .config
|
||||||
;;
|
;;
|
||||||
*) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
|
*) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user