diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-02-26 11:21:20 +0000 |
|---|---|---|
| committer | Ross Burton <ross.burton@arm.com> | 2025-02-27 20:28:16 +0000 |
| commit | a2cc6294c5eee65f11a9e5e61ce10008f44100c0 (patch) | |
| tree | d24838ff4974834819aba649e8c702cc1ba0cbed | |
| parent | 6d76dc0824f1e5ed0cbeee69e9432d442acac5d3 (diff) | |
| download | meta-openembedded-a2cc6294c5eee65f11a9e5e61ce10008f44100c0.tar.gz | |
cpuid: fix stripping
cpuid's Makefile passes -s to install to strip the binaries, but as this
uses the _host_ strip it can fail if that strip doesn't know about the
target (for example, building cpuid for x86 on aarch64):
install -D -s -m 755 cpuid .../image/usr/bin/cpuid
strip: Unable to recognise the format of the input file `.../image/usr/bin/cpuid'
Set INSTALL_STRIP='' so that the binaries are not stripped, and remove
the INSANE_SKIP for already-stripped.
Signed-off-by: Ross Burton <ross.burton@arm.com>
| -rw-r--r-- | meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb index ed339e0160..8fdbe21737 100644 --- a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb +++ b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb | |||
| @@ -17,9 +17,7 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | |||
| 17 | inherit perlnative | 17 | inherit perlnative |
| 18 | 18 | ||
| 19 | do_install () { | 19 | do_install () { |
| 20 | oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} install | 20 | oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} INSTALL_STRIP="" install |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | RDEPENDS:${PN} = "perl" | 23 | RDEPENDS:${PN} = "perl" |
| 24 | |||
| 25 | INSANE_SKIP:${PN} += "already-stripped" | ||
