From 6bce8cc00594f41830739b76e367423fd4e7444d Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 13 Jan 2022 14:32:34 +0100 Subject: [PATCH] build: correct usage comments in Kbuild.include Macros with arguments need to be invoked via $(call ...); don't misguide people looking up usage of such macros. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/scripts/Kbuild.include | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/scripts/Kbuild.include b/xen/scripts/Kbuild.include index 83c7e1457b..f75d724ed7 100644 --- a/xen/scripts/Kbuild.include +++ b/xen/scripts/Kbuild.include @@ -43,15 +43,15 @@ define as-option-add-closure endif endef -# $(if-success,,,) +# $(call if-success,,,) # Return if exits with 0, otherwise. if-success = $(shell { $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)") -# $(success,) +# $(call success,) # Return y if exits with 0, n otherwise success = $(call if-success,$(1),y,n) -# $(ld-option,) +# $(call ld-option,) # Return y if the linker supports , n otherwise ld-option = $(call success,$(LD) -v $(1)) -- 2.30.2