diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-07-04 09:17:34 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-07-04 09:17:34 +0200 |
commit | ec87da2afc85eaa2a7cdee32292043bfde36b087 (patch) | |
tree | e1a4d11cca15ef110d5e6ac9348e6ee276645db7 | |
parent | fe998cc77c1befc38888ffcce29848a04524b2fa (diff) | |
download | ptxdist-ec87da2afc85eaa2a7cdee32292043bfde36b087.tar.gz ptxdist-ec87da2afc85eaa2a7cdee32292043bfde36b087.tar.xz |
introduce ptx/wow as the reverse of ptx/wwo
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/pre/000-option-disabled.make | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/pre/000-option-disabled.make b/rules/pre/000-option-disabled.make index 504e4d644..41a1b8af4 100644 --- a/rules/pre/000-option-disabled.make +++ b/rules/pre/000-option-disabled.make @@ -87,6 +87,18 @@ endef # +# $(call ptx/wow, PTXCONF_SYMBOL) returns "with" or "without" +# depending on the symbol is defined or not +# +# $(call ptx/wow, PTXCONF_SYMBOL) +# $1 +# +define ptx/wow +$(call ptx/ifdef, $(1), without, with) +endef + + +# # $(call ptx/onoff, PTXCONF_SYMBOL) returns "ON" or "OFF" # depending on the symbol is defined or not # |