From 62cdd9f8cb1c93c2c6202e7054b678ff8a17461c Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Fri, 4 May 2018 22:45:25 -0300 Subject: ostree: use do_configure_prepend and avoid customizing do_compile Prefer prepend (autogen) and also avoid customizing do_compile as exporting BUILD_SYS and HOST_SYS is already enough. Signed-off-by: Ricardo Salveti --- recipes-sota/ostree/ostree_git.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-sota/ostree/ostree_git.bb b/recipes-sota/ostree/ostree_git.bb index 112d05c..240860a 100644 --- a/recipes-sota/ostree/ostree_git.bb +++ b/recipes-sota/ostree/ostree_git.bb @@ -45,18 +45,14 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/ FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" +export BUILD_SYS +export HOST_SYS export STAGING_INCDIR export STAGING_LIBDIR -do_configure() { +do_configure_prepend() { unset docdir NOCONFIGURE=1 "${S}/autogen.sh" - oe_runconf -} - -do_compile_prepend() { - export BUILD_SYS="${BUILD_SYS}" - export HOST_SYS="${HOST_SYS}" } export SYSTEMD_REQUIRED -- cgit v1.2.3-54-g00ecf