libsoc: remove dependency of Digi clone repo
The commits in Digi clone have been merged to the public libsoc repo. Adjust the SRCREV to the latest available commit at the moment (545b354968a9d03008e1e86e14c58e3f8423a20c) and remove the dependency with Digi clone. Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://onedigi.atlassian.net/browse/DEL-8218
This commit is contained in:
parent
c4f2fce4d3
commit
ab4ab168aa
|
|
@ -53,9 +53,6 @@ PREFERRED_VERSION_bluez5 ?= "5.65"
|
||||||
PREFERRED_VERSION_linux-yocto ?= "5.15%"
|
PREFERRED_VERSION_linux-yocto ?= "5.15%"
|
||||||
PREFERRED_VERSION_linux-yocto-rt ?= "5.15%"
|
PREFERRED_VERSION_linux-yocto-rt ?= "5.15%"
|
||||||
|
|
||||||
# Use git recipe for libsoc
|
|
||||||
PREFERRED_VERSION_libsoc = "git"
|
|
||||||
|
|
||||||
# There's a generic opencl-headers recipe in the thud branch of
|
# There's a generic opencl-headers recipe in the thud branch of
|
||||||
# meta-openembedded, but we should use the package provided by the imx-gpu-viv
|
# meta-openembedded, but we should use the package provided by the imx-gpu-viv
|
||||||
# recipe in case there are NXP-specific changes in it
|
# recipe in case there are NXP-specific changes in it
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Copyright (C) 2017-2023 Digi International Inc.
|
||||||
|
|
||||||
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
||||||
|
|
||||||
|
SRCREV = "545b354968a9d03008e1e86e14c58e3f8423a20c"
|
||||||
|
|
||||||
|
# The meta-openembedded recipe version is 0.8.2 because there have been no new
|
||||||
|
# releases/tags on this repo since 2016.
|
||||||
|
# This bbappend overrides the SRC_URI to use a more updated version of the code
|
||||||
|
# that doesn't correspond to the package latest tagged version.
|
||||||
|
SRC_URI:append = " \
|
||||||
|
file://0001-gpio-pwm-add-delay-to-allow-udev-rules-to-complete.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
PACKAGECONFIG = "python"
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
# 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) \
|
|
||||||
found in SoC (System on Chips) through generic Linux Kernel interfaces."
|
|
||||||
|
|
||||||
HOMEPAGE = "https://github.com/jackmitch/libsoc"
|
|
||||||
|
|
||||||
LICENSE = "LGPL-2.1-only"
|
|
||||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=e0bfebea12a718922225ba987b2126a5"
|
|
||||||
|
|
||||||
inherit autotools pkgconfig python3-dir
|
|
||||||
|
|
||||||
SRCBRANCH ?= "master"
|
|
||||||
SRCREV = "${AUTOREV}"
|
|
||||||
SRC_URI = "git://github.com/jackmitch/libsoc.git;branch=master;protocol=https"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
BOARD ??= "devboard"
|
|
||||||
|
|
||||||
PACKAGECONFIG ?= ""
|
|
||||||
|
|
||||||
PACKAGECONFIG[disabledebug] = "--disable-debug,,"
|
|
||||||
PACKAGECONFIG[allboardconfigs] = "--with-board-configs,,"
|
|
||||||
PACKAGECONFIG[enableboardconfig] = "--enable-board=${BOARD},,"
|
|
||||||
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)}"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} = "libgcc"
|
|
||||||
RDEPENDS:${PYTHON_PN}-libsoc = "${PN} ${PYTHON_PN}-ctypes"
|
|
||||||
|
|
||||||
FILES:${PYTHON_PN}-libsoc-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*/*.a"
|
|
||||||
FILES:${PYTHON_PN}-libsoc += "${PYTHON_SITEPACKAGES_DIR}"
|
|
||||||
|
|
||||||
DEFAULT_PREFERENCE = "-1"
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
# Copyright (C) 2017 Digi International Inc.
|
|
||||||
|
|
||||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
|
||||||
|
|
||||||
LIBSOC_URI_STASH = "${DIGI_MTK_GIT}/dey/libsoc.git;protocol=ssh"
|
|
||||||
LIBSOC_URI_GITHUB = "git://github.com/jackmitch/libsoc.git;protocol=https"
|
|
||||||
LIBSOC_URI ?= "${@oe.utils.conditional('DIGI_INTERNAL_GIT', '1' , '${LIBSOC_URI_STASH}', '${LIBSOC_URI_GITHUB}', d)}"
|
|
||||||
|
|
||||||
SRCREV = "dc62bb1f04c13d0423078b1af2bb439c62023d6c"
|
|
||||||
SRC_URI = " \
|
|
||||||
${LIBSOC_URI};nobranch=1 \
|
|
||||||
file://0001-gpio-pwm-add-delay-to-allow-udev-rules-to-complete.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGECONFIG = "python"
|
|
||||||
Loading…
Reference in New Issue