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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to