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 <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski
2021-06-02 16:14:56 +02:00
committed by Khem Raj
parent 1b26441296
commit 2d163d0e18
@@ -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"