diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-05-30 16:16:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-30 09:16:06 -0700 |
commit | e04d5631d3907c90b67f73c50d33fe941a3722be (patch) | |
tree | 28acfe738776d1d6ec18787fe72625415f27cca1 | |
parent | 1c0e1d92b27a3d9c042b458631e7d0ebd024858e (diff) | |
download | meta-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.bb | 11 |
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" | |||
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382" |
6 | |||
6 | DEPENDS = "ncurses openssl" | 7 | DEPENDS = "ncurses openssl" |
7 | SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a" | ||
8 | 8 | ||
9 | SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a" | ||
9 | SRC_URI = " \ | 10 | SRC_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 | " |
13 | SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655" | 14 | SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655" |
14 | 15 | ||
@@ -16,8 +17,8 @@ S = "${WORKDIR}/git" | |||
16 | 17 | ||
17 | inherit autotools-brokensep pkgconfig | 18 | inherit autotools-brokensep pkgconfig |
18 | 19 | ||
19 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LDCONFIG=\"true\"" | 20 | EXTRA_OEMAKE = "DESTDIR='${D}' PREFIX='${prefix}' LDCONFIG='true' LIBDIR='${D}${libdir}'" |
20 | 21 | ||
21 | do_install () { | 22 | do_install () { |
22 | oe_runmake install | 23 | oe_runmake install |
23 | } | 24 | } |