From e75c190de3c395832621b9e4f4f37e4d7f847474 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Tue, 16 Sep 2025 19:06:16 +0200 Subject: [PATCH] libcamera: move PACKAGECONFIG def to meta-oe Move the raspberrypi PACKAGECONFIG to meta-oe (at least partially), as the libcamera recipe needs to know when is it built for an rpi due to a new build dependency. Also, make the PACKAGECONFIG append device specific. Otherwise the behavior of the bbappend should not change by this patch. Signed-off-by: Gyorgy Sarvari --- .../recipes-multimedia/libcamera/libcamera_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera/libcamera_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera/libcamera_%.bbappend index c152b78..37a3e3b 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera/libcamera_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera/libcamera_%.bbappend @@ -1,3 +1,3 @@ -PACKAGECONFIG[raspberrypi] = "-Dpipelines=rpi/vc4 -Dipas=rpi/vc4" +EXTRA_OEMESON:append:rpi = " -Dipas=rpi/vc4,rpi/pisp" PACKAGECONFIG:append:rpi = " raspberrypi" CXXFLAGS:append:rpi = " -Wno-unaligned-access "