> On Nov 29, 2016, at 15:05 , Phil Elwell <phil@xxxxxxxxxxxxxxx> wrote: > > On 29/11/2016 13:00, Pantelis Antoniou wrote: >> An alias is the standard way to refer to nodes symbolically. They can be overwritten at >> runtime without triggering an error. > Can you give me a concrete example of how this would look? Maybe later in the day, kinda busy right now. >> Speaking of which, since these overlays are applied at runtime, why not build them with a script >> and have a #define passed to the c preprocessor before compiling them? > Because the parameters are applied at run time, not compile time. > There’s no difference; you can cpp -IFOO_VALUE=foo in.dts | dtc | cat >/config/foo/dtb in a nutshell. And have foo-property = FOO_VALUE; in in.dts. > Phil > Regards — Pantelis -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html