mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 01:21:27 +00:00
scripts: fix updating config.{sub,guess}
This commit is contained in:
parent
de8f2cea32
commit
01240b9fbf
5
ct-ng.in
5
ct-ng.in
@ -56,10 +56,11 @@ ifeq ($(strip $(origin V)),command line)
|
||||
endif # origin V
|
||||
export V SILENT ECHO
|
||||
|
||||
.FORCE: $(FORCE)
|
||||
all: help
|
||||
|
||||
.PHONY: $(PHONY)
|
||||
PHONY += all
|
||||
all: help
|
||||
FORCE:
|
||||
|
||||
# Help system
|
||||
help:: help-head help-config help-samples help-build help-clean help-distrib help-env help-tail
|
||||
|
@ -38,7 +38,7 @@ $(patsubst %,show-%,$(CT_SAMPLES)):
|
||||
|
||||
# print the list of all available samples
|
||||
PHONY += list-samples
|
||||
list-samples: .FORCE
|
||||
list-samples: FORCE
|
||||
@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sort
|
||||
|
||||
wiki-samples:
|
||||
|
@ -35,14 +35,12 @@ PHONY += scripts
|
||||
scripts:
|
||||
$(SILENT)mkdir -p scripts
|
||||
|
||||
FROCE += $(CONFIG_SUB_DEST)
|
||||
$(CONFIG_SUB_DEST): scripts
|
||||
$(CONFIG_SUB_DEST): scripts FORCE
|
||||
@$(ECHO) ' WGET $@'
|
||||
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
|
||||
$(SILENT)chmod u+rwx,go+rx-w $@
|
||||
|
||||
FORCE += $(CONFIG_GUESS_DEST)
|
||||
$(CONFIG_GUESS_DEST): scripts
|
||||
$(CONFIG_GUESS_DEST): scripts FORCE
|
||||
@$(ECHO) ' WGET $@'
|
||||
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
|
||||
$(SILENT)chmod u+rwx,go+rx-w $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user