From 2d163d0e1857bf11e8518312fe759dbe5cc59a0b Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 2 Jun 2021 16:14:56 +0200 Subject: [PATCH] libgpiod: correctly split output files into packages Currently, the files that should go into libgpiod-ptest are part of either the main library package of libgpiod-tools. Use more fine-grained values for package files variables. Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- .../recipes-support/libgpiod/libgpiod_1.6.3.bb | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb index 43264782e2..9e4bef7b4c 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb @@ -28,7 +28,21 @@ EXTRA_OECONF = "--enable-tools" DEPENDS += "autoconf-archive-native" PACKAGES =+ "${PN}-tools libgpiodcxx ${PN}-python" -FILES_${PN}-tools = "${bindir}/*" +FILES_${PN}-tools = " \ + ${bindir}/gpiodetect \ + ${bindir}/gpioinfo \ + ${bindir}/gpioget \ + ${bindir}/gpioset \ + ${bindir}/gpiofind \ + ${bindir}/gpiomon \ +" +FILES_${PN}-ptest += " \ + ${bindir}/gpiod-test \ + ${bindir}/gpio-tools-test \ + ${bindir}/gpio-tools-test.bats \ + ${bindir}/gpiod-cxx-test \ + ${libdir}/libgpiomockup.so.* \ +" FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"