Plenty of examples in source.

Using Kconfig, it is referred to as "depends"

Ex.

config PACKAGE_X
prompt "PackageX"

config PACKAGE_Y
prompt "PackageY"

config PACKAGE_Z
prompt "PackageZ"
depends on PACKAGE_Y && PACKAGE_X

But again, LOTS of examples in ptxdist source, and in kernel source.


Ryan

Markus Rathgeb wrote:
Hello!

I prepare to create some rules for additional packages.
Is there a documentation for all the functions or are the sources and examples the only "documentation"?

How can I depend an option on two variables?
IS that the only way:
ifdef PTXCONF_XXX_YYY
ifdef PTXCONF_XXX_ZZZ
...
endif
endif

Is it possible to use a more common syntax like:
if defined(PTXCONF_XXX_YYY) && defined(PTXCONF_XXX_ZZZ)
Okay, this exmaple is not possible - i tested it ;-)

With regards.
Markus



------------------------------------------------------------------------

--
ptxdist mailing list
ptxdist@pengutronix.de

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to