diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2023-04-10 20:57:39 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-04-18 06:45:45 -0400 |
commit | b9b947cb6321e47d4fe3b9f00c7b3fadc6b8d6a6 (patch) | |
tree | 14a5645290b4f53ae68278a631362c0f54b4102f | |
parent | 51ecdc3aa140cf12d2e84c9c0b0e165dd0957380 (diff) | |
download | meta-openembedded-b9b947cb6321e47d4fe3b9f00c7b3fadc6b8d6a6.tar.gz |
pahole: respect libdir
* use the same expression as cmake.bbclass is using:
CMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')}
but ${baselib} should work here as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.22.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb index 449508a5d5..ec642ec3b2 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb | |||
@@ -21,7 +21,7 @@ inherit cmake pkgconfig | |||
21 | 21 | ||
22 | PACKAGECONFIG[python3] = ",,python3-core,python3-core" | 22 | PACKAGECONFIG[python3] = ",,python3-core,python3-core" |
23 | 23 | ||
24 | EXTRA_OECMAKE = "-D__LIB=lib -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" | 24 | EXTRA_OECMAKE = "-D__LIB=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" |
25 | 25 | ||
26 | FILES:${PN} = "${bindir}/pahole \ | 26 | FILES:${PN} = "${bindir}/pahole \ |
27 | ${libdir}/libdwarves.so* \ | 27 | ${libdir}/libdwarves.so* \ |