[oe] [meta-oe][PATCH 3/3] vim: set CLEANBROKEN to fix rebuild

Yi Zhao yi.zhao at windriver.com
Fri Jan 5 06:52:06 UTC 2018


Rebuilding vim would cause the following error:
  Makefile:4: ../auto/config.mk: No such file or directory
  make[1]: *** No rule to make target '../auto/config.mk'.  Stop.

Set CLEANBROKEN to "1" to fix this issue.

Also remove the redundant "inherit autotools".

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 meta-oe/recipes-support/vim/vim_8.0.0983.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/vim/vim_8.0.0983.bb b/meta-oe/recipes-support/vim/vim_8.0.0983.bb
index f2edd51..44c868c 100644
--- a/meta-oe/recipes-support/vim/vim_8.0.0983.bb
+++ b/meta-oe/recipes-support/vim/vim_8.0.0983.bb
@@ -17,8 +17,9 @@ S = "${WORKDIR}/git/src"
 
 VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
 
-inherit autotools update-alternatives
-inherit autotools-brokensep
+inherit autotools-brokensep update-alternatives
+
+CLEANBROKEN = "1"
 
 # vim configure.in contains functions which got 'dropped' by autotools.bbclass
 do_configure () {
-- 
2.7.4




More information about the Openembedded-devel mailing list