summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2023-05-30 16:16:09 +0200
committerKhem Raj <raj.khem@gmail.com>2023-05-30 09:16:06 -0700
commite04d5631d3907c90b67f73c50d33fe941a3722be (patch)
tree28acfe738776d1d6ec18787fe72625415f27cca1
parent1c0e1d92b27a3d9c042b458631e7d0ebd024858e (diff)
downloadmeta-openembedded-e04d5631d3907c90b67f73c50d33fe941a3722be.tar.gz
switchtec-user: fix installed-vs-shipped with multilib
* fixes: ERROR: QA Issue: switchtec-user: Files/directories were installed but not shipped in any package: /usr/lib/libswitchtec.a /usr/lib/libswitchtec.so /usr/lib/libswitchtec.so.4.0 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. switchtec-user: 3 installed and not shipped files. [installed-vs-shipped] when libdir is e.g. /usr/lib64 The Makefile.in defines default LIBDIR with DESTDIR: LIBDIR ?= $(DESTDIR)$(PREFIX)/lib so include ${D} here as well * use 4 spaces for indentation and ' instead of " so that it doesn't need backslashes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb
index 6d5c9f1a67..443e5bc493 100644
--- a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb
+++ b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb
@@ -3,12 +3,13 @@ HOMEPAGE = "https://github.com/Microsemi/switchtec-user"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382"
6
6DEPENDS = "ncurses openssl" 7DEPENDS = "ncurses openssl"
7SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a"
8 8
9SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a"
9SRC_URI = " \ 10SRC_URI = " \
10 git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master \ 11 git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master \
11 file://0001-cli-Fix-format-security-warning.patch \ 12 file://0001-cli-Fix-format-security-warning.patch \
12" 13"
13SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655" 14SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655"
14 15
@@ -16,8 +17,8 @@ S = "${WORKDIR}/git"
16 17
17inherit autotools-brokensep pkgconfig 18inherit autotools-brokensep pkgconfig
18 19
19EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LDCONFIG=\"true\"" 20EXTRA_OEMAKE = "DESTDIR='${D}' PREFIX='${prefix}' LDCONFIG='true' LIBDIR='${D}${libdir}'"
20 21
21do_install () { 22do_install () {
22 oe_runmake install 23 oe_runmake install
23} 24}