From 2c4d1ac6394e2ebb7f18a2c68e266885626fbe94 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 19 Feb 2021 18:57:33 +0100 Subject: [PATCH] gatesgarth migration: libsoc: sync with recipe from meta-openembedded layer Commit a04e0ed79 ("libsoc: use python3 for python bindings") moves python support to use python3. https://jira.digi.com/browse/DEL-7508 Signed-off-by: Arturo Buzarra --- meta-digi-dey/recipes-support/libsoc/libsoc_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-digi-dey/recipes-support/libsoc/libsoc_git.bb b/meta-digi-dey/recipes-support/libsoc/libsoc_git.bb index e3c4da70d..ee07bc938 100644 --- a/meta-digi-dey/recipes-support/libsoc/libsoc_git.bb +++ b/meta-digi-dey/recipes-support/libsoc/libsoc_git.bb @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Digi International Inc. +# Copyright (C) 2017-2021 Digi International Inc. SUMMARY = "Library for interfacing with common SoC peripherals" DESCRIPTION = "libsoc is a C library to interface with common peripherals (gpio, i2c, spi, pwm) \ @@ -9,7 +9,7 @@ HOMEPAGE = "https://github.com/jackmitch/libsoc" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENCE;md5=e0bfebea12a718922225ba987b2126a5" -inherit autotools pkgconfig python-dir +inherit autotools pkgconfig python3-dir SRCBRANCH ?= "master" SRCREV = "${AUTOREV}" @@ -24,7 +24,7 @@ PACKAGECONFIG ?= "" PACKAGECONFIG[disabledebug] = "--disable-debug,," PACKAGECONFIG[allboardconfigs] = "--with-board-configs,," PACKAGECONFIG[enableboardconfig] = "--enable-board=${BOARD},," -PACKAGECONFIG[python] = "--enable-python=${PYTHON_PN},,${PYTHON_PN}" +PACKAGECONFIG[python] = "--enable-python=${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN},,${PYTHON_PN} ${PYTHON_PN}-native" PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', \ '${PYTHON_PN}-libsoc-staticdev ${PYTHON_PN}-libsoc', '', d)}"