On Wed, Aug 26, 2020, 6:53 AM Abdelatif Guettouche < abdelatif.guettou...@gmail.com> wrote:
> Generating the Kconfig file has to be done during preconfig otherwise > anything kconfig related won't work. We can't source a file that > doesn't exist yet. > As it is now LVGL is downloaded during context (the usual), I think > sourcing or just copying the Kconfig file from the LVGL folder would > cause the configuration phase to fail, specifically the call to make > olddefconfig. > The way this is handled with systems like Buildroot which have there own kconfig is you generate the defconfig for the application and store that next to your board config. Then the in your top level config you supply that as a value CONFIG_LVGL_DEFCONFIG=mydefconfig That defconfig is then used during the build by the application. This makes it harder to configure for a user but keeps the separation cleaner between the systems. --Brennan