From 803e966c7f9f276fb5a0e36fdfe1542f63e29604 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Mon, 1 Aug 2022 15:27:21 +0200 Subject: gpio-tool: inherit bin_package gpio-tool supposes to be a bin package, let it behave so by inheriting bin_package.bbclass. Also add glib-2.0 to DEPENDS, the binary gpio-tool is linking to it. Related-to: ELB-4471 Signed-off-by: Ming Liu --- recipes-support/gpio-tool/gpio-tool.bb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/recipes-support/gpio-tool/gpio-tool.bb b/recipes-support/gpio-tool/gpio-tool.bb index 9ee6029..45181a8 100644 --- a/recipes-support/gpio-tool/gpio-tool.bb +++ b/recipes-support/gpio-tool/gpio-tool.bb @@ -5,7 +5,7 @@ PR = "r3" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "gtk+" +DEPENDS = "glib-2.0 gtk+" SRC_URI = " \ file://gpio-tool \ @@ -13,17 +13,13 @@ SRC_URI = " \ file://gpio-tool.png \ " -PACKAGES = "${PN}" +inherit bin_package #no gnu_hash in binaries, skip QA dev-so for this package #we have symlinks ending in .so, skip QA ldflags for this package #inhibit warnings about files being stripped INSANE_SKIP:${PN} = "ldflags already-stripped" -# just don't do any configuring -do_configure() { -} - do_install() { install -d ${D}/${bindir} install -d ${D}/${datadir}/applications @@ -34,7 +30,3 @@ do_install() { install -m 644 ${WORKDIR}/gpio-tool.png ${D}/${datadir}/pixmaps/ ln -s ${datadir}/applications/gpio-tool.desktop ${D}/home/root/Desktop/ } - -FILES:${PN} += " \ - /home/root/Desktop \ -" -- cgit v1.2.3