diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-05-04 22:45:25 -0300 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-10-10 12:24:38 +0200 |
commit | 6ede2d18b0b22b6679089b9a833d3383684221c2 (patch) | |
tree | 6189ddff074713204c5b7d84f6c1f23902a44326 /recipes-sota | |
parent | d2b8af2ef6e930e8387410ad2b60b487b6ea4729 (diff) | |
download | meta-updater-6ede2d18b0b22b6679089b9a833d3383684221c2.tar.gz |
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 <ricardo@opensourcefoundries.com>
Diffstat (limited to 'recipes-sota')
-rw-r--r-- | recipes-sota/ostree/ostree_git.bb | 10 |
1 files 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/ | |||
45 | 45 | ||
46 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" | 46 | FILES_${PN} += "${libdir}/ostree/ ${libdir}/ostbuild" |
47 | 47 | ||
48 | export BUILD_SYS | ||
49 | export HOST_SYS | ||
48 | export STAGING_INCDIR | 50 | export STAGING_INCDIR |
49 | export STAGING_LIBDIR | 51 | export STAGING_LIBDIR |
50 | 52 | ||
51 | do_configure() { | 53 | do_configure_prepend() { |
52 | unset docdir | 54 | unset docdir |
53 | NOCONFIGURE=1 "${S}/autogen.sh" | 55 | NOCONFIGURE=1 "${S}/autogen.sh" |
54 | oe_runconf | ||
55 | } | ||
56 | |||
57 | do_compile_prepend() { | ||
58 | export BUILD_SYS="${BUILD_SYS}" | ||
59 | export HOST_SYS="${HOST_SYS}" | ||
60 | } | 56 | } |
61 | 57 | ||
62 | export SYSTEMD_REQUIRED | 58 | export SYSTEMD_REQUIRED |