gphoto2: Move the sed op on config.h to do_compile
PATCH 1/1 gphoto2: Move the sed op on config.h to do_compile
Current code still fails on some AB nodes.
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb +2 -2
@@ -19,6 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ --without-cdk \ " -do_configure:append() { - sed -i -E "s/--sysroot=[^'\" ]+//g" ${B}/config.h +do_compile:prepend() { + sed -i -e 's/--sysroot=[^ "]*//g' ${B}/config.h }