Skip to contentSkip to conversation

v4l-utils: do out-of-tree builds

PATCH New [email protected] 1 participant 1 message May 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l-utils: do out-of-tree builds

From: Ross Burton <[email protected]>

Don't override B to do in-tree builds, and run bootstrap from ${S} so that it works correctly.

Also, remove redundant SRC_URI checksums, as this recipe now uses git.

---
 meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.23.0.bb +1 -5
index c23b6e3e71..21a080221c 100644
@@ -38,15 +38,11 @@ SRCREV = "9431e4b26b4842d1401e80ada9f14593dca3a94c"
 PV .= "+git${SRCPV}"
 
 S = "${WORKDIR}/git"
-B = "${S}"
 
 do_configure:prepend() {
-    ${S}/bootstrap.sh
+    cd ${S}; ./bootstrap.sh; cd -
 }
 
-SRC_URI[md5sum] = "8aa73287320a49e9170a8255d7b2c7e6"
-SRC_URI[sha256sum] = "65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31"
-
 EXTRA_OECONF = "--enable-shared --with-udevdir=${base_libdir}/udev \
                 --disable-v4l2-compliance-32 --disable-v4l2-ctl-32"
 
Signature · 1 line
2.34.1