Message ID | 20240315180314.9111-2-chris.chapuis@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,v3,1/5] lvgl: fix typo in lv-conf.inc | expand |
On 3/15/24 7:03 PM, Christophe Chapuis wrote: > Add an install append to copy the generated lv_conf.h as part of the > lvgl package, so that it will be found and used by the recipes that > want to use lvgl. > > Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de>
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc index 3dbdf769f..6bcead628 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc +++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc @@ -52,3 +52,8 @@ do_configure:append() { \ -i "${S}/lv_conf.h" } + +do_install:append() { + install -d "${D}${includedir}/${PN}" + install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/${PN}/lv_conf.h" +}
Add an install append to copy the generated lv_conf.h as part of the lvgl package, so that it will be found and used by the recipes that want to use lvgl. Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> --- meta-oe/recipes-graphics/lvgl/lv-conf.inc | 5 +++++ 1 file changed, 5 insertions(+)