From c374b041cc4df7f5566b4eee143d50e57d3ca1b8 Mon Sep 17 00:00:00 2001 From: Naveen Saini Date: Tue, 9 Apr 2024 12:52:42 +0800 Subject: lms: use python3native and depend on python3-packaging-native Recipe incorrectly using python from host, which causing following failure: | import packaging.version | ModuleNotFoundError: No module named 'packaging.version' Ref: https://git.yoctoproject.org/poky/commit/?id=bb4abe0e6468f8be3fdd6012a109ddd1db7b20a8 Signed-off-by: Naveen Saini --- dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'dynamic-layers') diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb index 63b69ce8..bdf32576 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2406.0.0.0.bb @@ -10,11 +10,9 @@ COMPATIBLE_HOST = '(i.86|x86_64).*-linux' COMPATIBLE_HOST:libc-musl = "null" -inherit cmake systemd features_check +inherit cmake systemd features_check python3native -DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native" - -EXTRA_OECMAKE += "-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3" +DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" # Enable either connman or networkmanager or none but not both. PACKAGECONFIG ??= "connman" -- cgit v1.2.3-54-g00ecf