<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hi, <br><br>i'm trying to add some #ifdef on my device tree in order to separate two different imports. <br><br>#include "imx6q.dtsi"<br>#ifdef MMC_WRITE<br>#include "imx6qdl-sabre-mmc.dtsi"<br>#elif<br>#include "imx6qdl-sabre-sd.dtsi"<br>#endif<br><br>where can i add a macro to select what kind of device tree i must import? <br>in /arch/arm/boot i found a Makefile <br>and another one in /arch/arm/boot/dts<br>but i dont know how to define a macro for device-trees. <br><br>Thanks<br></p></body></html>