mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libftdi1: Use ptx/onoff
@ 2019-01-15 10:22 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2019-01-15 10:22 UTC (permalink / raw)
  To: ptxdist

Use dedicated macro for CMake options.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 rules/libftdi1.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/libftdi1.make b/rules/libftdi1.make
index dc715d00c..271c5ff49 100644
--- a/rules/libftdi1.make
+++ b/rules/libftdi1.make
@@ -39,9 +39,9 @@ LIBFTDI1_CONF_OPT	:= \
 	-DDOCUMENTATION=OFF \
 	-DPYTHON_BINDINGS=OFF \
 	-DSTATICLIBS=OFF \
-	-DEXAMPLES=$(call ptx/ifdef,PTXCONF_LIBFTDI1_EXAMPLES,ON,OFF) \
-	-DFTDIPP=$(call ptx/ifdef,PTXCONF_LIBFTDI1_CPP_WRAPPER,ON,OFF) \
-	-DFTDI_EEPROM=$(call ptx/ifdef,PTXCONF_LIBFTDI1_FTDI_EEPROM,ON,OFF)
+	-DEXAMPLES=$(call ptx/onoff, PTXCONF_LIBFTDI1_EXAMPLES) \
+	-DFTDIPP=$(call ptx/onoff, PTXCONF_LIBFTDI1_CPP_WRAPPER) \
+	-DFTDI_EEPROM=$(call ptx/onoff, PTXCONF_LIBFTDI1_FTDI_EEPROM)
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-15 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 10:22 [ptxdist] [PATCH] libftdi1: Use ptx/onoff Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox