With armv8-neon being enforced for all ARM based machines, running
any libcamera app on raspberrypi (e.g. Raspberry Pi B Rev 2) results
in Illegal Instruction.

To fix this, defaults to TARGET_ARCH for non-aarch64 machines.

Signed-off-by: Vivien Didelot <[email protected]>
---
 recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb 
b/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb
index 062ded9..3460065 100644
--- a/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb
+++ b/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb
@@ -30,7 +30,6 @@ EXTRA_OECMAKE = "\
 
 LIBCAMERA_ARCH = "${TARGET_ARCH}"
 LIBCAMERA_ARCH:aarch64 = "arm64"
-LIBCAMERA_ARCH:arm = "armv8-neon"
 EXTRA_OECMAKE += "-DENABLE_COMPILE_FLAGS_FOR_TARGET=${LIBCAMERA_ARCH}"
 
 PACKAGECONFIG[x11] = "-DENABLE_X11=1,-DENABLE_X11=0"
-- 
2.41.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60628): https://lists.yoctoproject.org/g/yocto/message/60628
Mute This Topic: https://lists.yoctoproject.org/mt/100273523/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to