[yocto] Ifdef on devicetree
luciosantinell at libero.it
luciosantinell at libero.it
Fri Feb 22 03:16:21 PST 2019
Hi,
i'm trying to add some #ifdef on my device tree in order to separate two different imports.
#include "imx6q.dtsi"
#ifdef MMC_WRITE
#include "imx6qdl-sabre-mmc.dtsi"
#elif
#include "imx6qdl-sabre-sd.dtsi"
#endif
where can i add a macro to select what kind of device tree i must import?
in /arch/arm/boot i found a Makefile
and another one in /arch/arm/boot/dts
but i dont know how to define a macro for device-trees.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190222/b0d0fd05/attachment-0001.html>
More information about the yocto
mailing list