diff mbox series

[meta-oe,v3,2/5] lvgl: install lv_conf.h

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

Commit Message

Christophe Chapuis March 15, 2024, 6:03 p.m. UTC
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(+)

Comments

Marek Vasut March 16, 2024, 2:53 a.m. UTC | #1
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 mbox series

Patch

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"
+}