libgpiod: fold libgpiod-src.inc into libgpiod.inc

Now that python3-gpiod fetches the sources from pypi, we no longer need
to provide the SRC_URI in a separate include. Fold it into the
libgpiod.inc used locally only.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2023-04-14 13:51:47 +02:00 committed by Khem Raj
parent 930436d900
commit c6243e1b6a
2 changed files with 4 additions and 4 deletions

View File

@ -1 +0,0 @@
SRC_URI += "https://www.kernel.org/pub/software/libs/libgpiod/libgpiod-${PV}.tar.xz"

View File

@ -1,11 +1,12 @@
SUMMARY = "C library and tools for interacting with the linux GPIO character device"
AUTHOR = "Bartosz Golaszewski <brgl@bgdev.pl>"
require libgpiod-src.inc
inherit autotools pkgconfig ptest
SRC_URI += "file://run-ptest"
SRC_URI += " \
https://www.kernel.org/pub/software/libs/libgpiod/libgpiod-${PV}.tar.xz \
file://run-ptest \
"
PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"