build: use tool from configure

This way we make sure the tool will be the one we actually configured
before going through sudo.
This commit is contained in:
Lucas De Marchi 2018-01-02 18:17:51 -08:00
parent cc71e0a589
commit 8d9c7e37c9
2 changed files with 3 additions and 2 deletions

View File

@ -504,5 +504,5 @@ tar-sync: kmod-$(VERSION).tar.xz kmod-$(VERSION).tar.sign
# ------------------------------------------------------------------------------
mkosi:
-mkdir $(top_srcdir)/testsuite/mkosi/mkosi.cache
mkosi -C $(top_srcdir)/testsuite/mkosi --build-sources ../../ -fi
-$(MKDIR_P) $(top_srcdir)/testsuite/mkosi/mkosi.cache
$(MKOSI) -C $(top_srcdir)/testsuite/mkosi --build-sources ../../ -fi

View File

@ -31,6 +31,7 @@ AC_PROG_MKDIR_P
AC_PROG_LN_S
PKG_PROG_PKG_CONFIG
AC_PATH_PROG([XSLTPROC], [xsltproc])
AC_PATH_PROG([MKOSI], [mkosi])
AC_PROG_CC_C99