mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 00:23:56 +00:00
Remove the superfluous _config suffix to preconfigured targets (in "make help").
This commit is contained in:
parent
115d2cbd07
commit
94a79a1186
@ -27,10 +27,9 @@ oldconfig: $(obj)/conf
|
|||||||
|
|
||||||
# Build a list of all available samples
|
# Build a list of all available samples
|
||||||
SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*)))
|
SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*)))
|
||||||
SAMPLES_CONFIG = $(patsubst %,%_config,$(SAMPLES))
|
.PHONY: $(SAMPLES)
|
||||||
.PHONY: $(SAMPLES_CONFIG)
|
$(SAMPLES):
|
||||||
$(SAMPLES_CONFIG):
|
@cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config"
|
||||||
@cp "$(CT_TOP_DIR)/samples/$(patsubst %_config,%,$@)/crosstool.config" "$(CT_TOP_DIR)/.config"
|
|
||||||
@$(MAKE) oldconfig
|
@$(MAKE) oldconfig
|
||||||
|
|
||||||
# Help text used by make help
|
# Help text used by make help
|
||||||
@ -40,8 +39,8 @@ help::
|
|||||||
@echo ' menuconfig - Update current config using a menu based program'
|
@echo ' menuconfig - Update current config using a menu based program'
|
||||||
@echo ' oldconfig - Update current config using a provided .config as base'
|
@echo ' oldconfig - Update current config using a provided .config as base'
|
||||||
@echo
|
@echo
|
||||||
@echo 'Preconfigured configuration targets:'
|
@echo 'Preconfigured targets:'
|
||||||
@for s in $(SAMPLES_CONFIG); do \
|
@for s in $(SAMPLES); do \
|
||||||
echo " $${s}"; \
|
echo " $${s}"; \
|
||||||
done
|
done
|
||||||
@echo ''
|
@echo ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user