From 2073fd1fa283cec43ed5136bd1596a9abf35e068 Mon Sep 17 00:00:00 2001 From: Christophe Chapuis Date: Sat, 16 Mar 2024 19:25:54 +0000 Subject: [PATCH] luneos-recovery-ui: adapt eMMC device path for Pinetab2 Signed-off-by: Christophe Chapuis --- recipes-luneui/recovery/luneos-recovery-ui.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-luneui/recovery/luneos-recovery-ui.bb b/recipes-luneui/recovery/luneos-recovery-ui.bb index 77f03ba..d198d9a 100644 --- a/recipes-luneui/recovery/luneos-recovery-ui.bb +++ b/recipes-luneui/recovery/luneos-recovery-ui.bb @@ -8,14 +8,15 @@ DEPENDS = "lvgl" SRC_URI = "git://github.com/Tofee/luneos-recovery-ui.git;branch=lvgl-9.0;protocol=https \ " -SRCREV = "d9973a191e249d5ee436072c405da0433882e4c7" +SRCREV = "fed0dccbfdc27db9b69a352fddfca49cf66620ba" S = "${WORKDIR}/git/recovery" inherit cmake -TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" -TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" +TARGET_CFLAGS:append = " -DLV_CONF_INCLUDE_SIMPLE=1 -I${RECIPE_SYSROOT}/${includedir}/lvgl" + +TARGET_CFLAGS:pinetab2:append = " -DEMMC_PATH='\"/dev/mmcblk1\"'" # Because meta-pine64-luneos/recipes-graphics/lvgl/lvgl_%.bbappend makes lvgl MACHINE_ARCH as well PACKAGE_ARCH = "${MACHINE_ARCH}"