mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
Revert "core: add the possibility to provide help for custom rules"
This reverts commit 84c825f8e893bfb56847ab4a880c46066a41744f. Turns out that the custom help is not available when the $(O) directory has not been configure yet (i.e. when there is no .config already filled). Rather than trying to work around this limitation with dirty hacks, just revert this feature. After all, this will not prevent an external.mk from providing custom help anyway; it's just not gonna be advertised nor displayed with the main help. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a49b81ed69
commit
2658b82353
7
Makefile
7
Makefile
@ -968,7 +968,6 @@ endif
|
|||||||
@echo ' source-check - check selected packages for valid download URLs'
|
@echo ' source-check - check selected packages for valid download URLs'
|
||||||
@echo ' external-deps - list external packages used'
|
@echo ' external-deps - list external packages used'
|
||||||
@echo ' legal-info - generate info about license compliance'
|
@echo ' legal-info - generate info about license compliance'
|
||||||
@echo ' help-custom - print help about custom actions (if any)'
|
|
||||||
@echo
|
@echo
|
||||||
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
|
@echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'
|
||||||
@echo ' make O=dir - Locate all output files in "dir", including .config'
|
@echo ' make O=dir - Locate all output files in "dir", including .config'
|
||||||
@ -977,12 +976,6 @@ endif
|
|||||||
@echo 'it on-line at http://buildroot.org/docs.html'
|
@echo 'it on-line at http://buildroot.org/docs.html'
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
# This rule does nothing, it is expected to be overloaded by
|
|
||||||
# a br2-external tree or a local.mk . However, it must exist,
|
|
||||||
# as we reference it in the main help, above. Making the rule
|
|
||||||
# .PHONY does not work.
|
|
||||||
help-custom:
|
|
||||||
|
|
||||||
list-defconfigs:
|
list-defconfigs:
|
||||||
@echo 'Built-in configs:'
|
@echo 'Built-in configs:'
|
||||||
@$(foreach b, $(sort $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig))), \
|
@$(foreach b, $(sort $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig))), \
|
||||||
|
@ -107,17 +107,3 @@ And then in +$(BR2_EXTERNAL)/package/package1+ and
|
|||||||
output of +make list-defconfigs+ and allow them to be loaded with the
|
output of +make list-defconfigs+ and allow them to be loaded with the
|
||||||
normal +make <name>_defconfig+ command. They will be visible under the
|
normal +make <name>_defconfig+ command. They will be visible under the
|
||||||
+User-provided configs+' label in the 'make list-defconfigs' output.
|
+User-provided configs+' label in the 'make list-defconfigs' output.
|
||||||
|
|
||||||
Additionally, an +external.mk+ file may define the +help-custom+ make
|
|
||||||
rule, to document custom make targets specific to this +BR2_EXTERNAL+
|
|
||||||
tree. The help is completely free-form.
|
|
||||||
|
|
||||||
------
|
|
||||||
help-custom:
|
|
||||||
@echo 'Here goes your local help, where you may'
|
|
||||||
@echo 'describe some custom rules:'
|
|
||||||
@echo ' my-rule - do something'
|
|
||||||
@echo ' my-other-rule - do something else'
|
|
||||||
@echo
|
|
||||||
@echo 'Please contact support@company.com in case of problem.'
|
|
||||||
------
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user