On Mon, Sep 23, 2019 at 3:33 PM Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxx> wrote: > Maybe a first step would be to introduce Kconfig options for each device and > ifdef around in the code, as to solve the "built unconditionally" aspect? ifdefs is something we try to avoid using too much, better for things to have their own files and use a library, usually, it's cleaner. Yours, Linus Walleij