vim: set CLEANBROKEN to fix rebuild

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@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Yi Zhao 2018-01-05 14:52:06 +08:00 committed by Armin Kuster
parent 884e4ba535
commit 07480f1a42

View File

@ -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 () {