mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Fix the step shortcuts (using a dash would confuse make).
This commit is contained in:
parent
af1ecbd4f3
commit
20e08ffa90
@ -277,9 +277,9 @@ Alternatively, you can call make with the name of a step to just do that step:
|
||||
is equivalent to:
|
||||
ct-ng RESTART=libs_headers STOP=libc_headers
|
||||
|
||||
The shortcuts -step_name and step_name- allow to respectively stop or restart
|
||||
The shortcuts +step_name and step_name+ allow to respectively stop or restart
|
||||
at that step. Thus:
|
||||
ct-ng -libc_headers and: ct-ng libc_headers-
|
||||
ct-ng +libc_headers and: ct-ng libc_headers+
|
||||
are equivalent to:
|
||||
ct-ng STOP=libc_headers and: ct-ng RESTART=libc_headers
|
||||
|
||||
|
8
steps.mk
8
steps.mk
@ -19,11 +19,11 @@ CT_STEPS := libc_check_config \
|
||||
$(CT_STEPS):
|
||||
@$(CT_NG) RESTART=$@ STOP=$@ build
|
||||
|
||||
$(patsubst %,-%,$(CT_STEPS)):
|
||||
@$(CT_NG) STOP=$(patsubst -%,%,$@) build
|
||||
$(patsubst %,+%,$(CT_STEPS)):
|
||||
@$(CT_NG) STOP=$(patsubst +%,%,$@) build
|
||||
|
||||
$(patsubst %,%-,$(CT_STEPS)):
|
||||
@$(CT_NG) RESTART=$(patsubst %-,%,$@) build
|
||||
$(patsubst %,%+,$(CT_STEPS)):
|
||||
@$(CT_NG) RESTART=$(patsubst %+,%,$@) build
|
||||
|
||||
help-build::
|
||||
@echo ' liststeps - List all build steps'
|
||||
|
Loading…
x
Reference in New Issue
Block a user