Open fifteenhex opened 3 years ago
Hi,
I don't know mainroot in detail. Does it mean an extra file like Kconfig? If so LVGL on its own can be added too?
Hi,
I don't know mainroot in detail. Does it mean an extra file like Kconfig? If so LVGL on its own can be added too?
Buildroot takes a simple config file (bunch of make macros really) and builds, configures and installs for the target. LVGL can be added but I'm wondering which is the right repo to target. If this repo builds LVGL to run on linux then maybe it's this repo, but maybe some of the other repos should be built as libraries or something?
Buildroot takes a simple config file (bunch of make macros really) and builds, configures and installs for the target.
Thanks!
I'm wondering which is the right repo to target.
There are other drivers that can be used on Linux too: SDL, Wayland, GTK. These are in the lv_drivers repo and have no dedicated project that works with make
.
If the lvgl
can be handled separately, can we use it as a "sub-library" or so inside this or other projects?
It looks like lv_drivers creates a static .a library. So I think that would be one package in buildroot and then maybe the main lvgl will be another package that depends on the lv_drivers one. I'll have a good at getting this to build in buildroot and get back to you.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
Is this topic still relevant? Do you still think it's a good idea to add buildroot support at least the lvgl
repo?
Hi, Sorry for dig out old issue but this is the only issue mentionning buildroot packing, do we have any news on this ? That would be really helpful for embedded linux
I'm also curious about it. @fifteenhex ?
just as note lvgl is already supported in yocto: https://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/lvgl
But building it using own recipe is quite easy.
Nice, thanks!
Thank you for your reply @embexus, that will be helpful !
I see in .bb
recipe than default lv_conf.h
is used (and can be replaced with our own later), do we have an option to use KConfig file from lvgl repository ?
@kisvegabor in the documentation https://docs.lvgl.io/master/porting/project.html ist states that make menuconfig can be used but it does not work ?! any additional steps ?
LVGL provides only a Kconfig file, meaning that it can be used in an environment where make menuconfig is implemented.
Since this repo has git submodules, so in Buildroot LVGL.mk must have the following line: LV_PORT_LINUX_FRAME_BUFFER_GIT_SUBMODULES = YES
This repo provides both cmake and general Makefile, in LVGL.mk, we can add
$(eval $(generic-package))
or
$(eval $(cmake-package))
Sorry,
I missed the many notifications about this. I also got this to work in buildroot but as LVGL doesn't really generate a shared library that can go between projects it didn't seem to be the right way to do it. A package for the app with LVGL as a submodule seemed more workable.
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Nuvoton has packaged LVGL (w/ Wayland) in buildroot on MA35D1 (Cortex-A35, aarch64) platform. For using LVGL with Wayland on MA35D1, please contact Nuvoton sales representative.
Hi,
Packing lvgl for buildroot would be really nice and I'm thinking of having a go at it. This would be the right repo use as the source for that?
Cheers,
Daniel