mbuffer's Makefile invokes 'bash mkversion.sh' with no path
which only works in the source tree so set B = S.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-support/mbuffer/mbuffer_20260511.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-support/mbuffer/mbuffer_20260511.bb 
b/meta-oe/recipes-support/mbuffer/mbuffer_20260511.bb
index aef96f59db..1a498286ed 100644
--- a/meta-oe/recipes-support/mbuffer/mbuffer_20260511.bb
+++ b/meta-oe/recipes-support/mbuffer/mbuffer_20260511.bb
@@ -14,6 +14,11 @@ SRC_URI[sha256sum] = 
"13bab36f39408f7a08fb368913290ad0f117c934bab602094e18fcc123
 
 inherit autotools
 
+# mbuffer's Makefile generates version.h by invoking "bash mkversion.sh"
+# with no path, which only works when building in the source tree (the
+# script is not found via VPATH in a separate build dir).
+B = "${S}"
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[md5] = "--enable-md5,--disable-md5,openssl"
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127919): 
https://lists.openembedded.org/g/openembedded-devel/message/127919
Mute This Topic: https://lists.openembedded.org/mt/120018142/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to