From 2e83546856a2cd5b35151d51aee60b3005ed6b41 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 25 Jan 2022 21:10:07 -0800 Subject: [PATCH] picamera-libs,python3-picamera: Limit visibility to 32 bit rpi machines These recipes use prebuilt vc libs which are 32bit only libs They also do not work on musl https://github.com/agherzan/meta-raspberrypi/pull/983 introduced these recipes however these are not generic packages that can be used on non-rpi machines therefore mark them so. It helps in using this SOC layer with other SOC layers in a distro Signed-off-by: Khem Raj --- recipes-multimedia/picamera-libs/picamera-libs.bb | 3 +++ recipes-multimedia/python3-picamera/python3-picamera_git.bb | 3 +++ 2 files changed, 6 insertions(+) diff --git a/recipes-multimedia/picamera-libs/picamera-libs.bb b/recipes-multimedia/picamera-libs/picamera-libs.bb index 19d76e6..c1356f0 100644 --- a/recipes-multimedia/picamera-libs/picamera-libs.bb +++ b/recipes-multimedia/picamera-libs/picamera-libs.bb @@ -21,3 +21,6 @@ INHIBIT_PACKAGE_STRIP = "1" INHIBIT_SYSROOT_STRIP = "1" SOLIBS = ".so" FILES_SOLIBSDEV = "" + +COMPATIBLE_HOST = "null" +COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux" diff --git a/recipes-multimedia/python3-picamera/python3-picamera_git.bb b/recipes-multimedia/python3-picamera/python3-picamera_git.bb index 8e5e1f2..f14941b 100644 --- a/recipes-multimedia/python3-picamera/python3-picamera_git.bb +++ b/recipes-multimedia/python3-picamera/python3-picamera_git.bb @@ -17,3 +17,6 @@ SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70" S = "${WORKDIR}/git" inherit setuptools3 + +COMPATIBLE_HOST = "null" +COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"