mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-06 01:21:42 +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
|
endif # origin V
|
||||||
export V SILENT ECHO
|
export V SILENT ECHO
|
||||||
|
|
||||||
.FORCE: $(FORCE)
|
all: help
|
||||||
|
|
||||||
.PHONY: $(PHONY)
|
.PHONY: $(PHONY)
|
||||||
PHONY += all
|
PHONY += all
|
||||||
all: help
|
FORCE:
|
||||||
|
|
||||||
# Help system
|
# Help system
|
||||||
help:: help-head help-config help-samples help-build help-clean help-distrib help-env help-tail
|
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
|
# print the list of all available samples
|
||||||
PHONY += list-samples
|
PHONY += list-samples
|
||||||
list-samples: .FORCE
|
list-samples: FORCE
|
||||||
@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sort
|
@echo $(CT_SAMPLES) |$(sed) -r -e 's/ /\n/g;' |sort
|
||||||
|
|
||||||
wiki-samples:
|
wiki-samples:
|
||||||
|
@ -35,14 +35,12 @@ PHONY += scripts
|
|||||||
scripts:
|
scripts:
|
||||||
$(SILENT)mkdir -p scripts
|
$(SILENT)mkdir -p scripts
|
||||||
|
|
||||||
FROCE += $(CONFIG_SUB_DEST)
|
$(CONFIG_SUB_DEST): scripts FORCE
|
||||||
$(CONFIG_SUB_DEST): scripts
|
|
||||||
@$(ECHO) ' WGET $@'
|
@$(ECHO) ' WGET $@'
|
||||||
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
|
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_SUB_SRC)
|
||||||
$(SILENT)chmod u+rwx,go+rx-w $@
|
$(SILENT)chmod u+rwx,go+rx-w $@
|
||||||
|
|
||||||
FORCE += $(CONFIG_GUESS_DEST)
|
$(CONFIG_GUESS_DEST): scripts FORCE
|
||||||
$(CONFIG_GUESS_DEST): scripts
|
|
||||||
@$(ECHO) ' WGET $@'
|
@$(ECHO) ' WGET $@'
|
||||||
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
|
$(SILENT)wget $(wget_opt) -O $@ $(CONFIG_GUESS_SRC)
|
||||||
$(SILENT)chmod u+rwx,go+rx-w $@
|
$(SILENT)chmod u+rwx,go+rx-w $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user