From: Andre Heider Date: Sat, 28 Sep 2019 11:10:59 +0000 (+0200) Subject: build: call Host/Uninstall before wiping the host build dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02330a655676bbb0432e5fc30bfe7fdd21a9c9c9;p=openwrt%2Fstaging%2Fldir.git build: call Host/Uninstall before wiping the host build dir Uninstall targets may depend on build artefacts, like `make uninstall` or `ninja uninstall`. Signed-off-by: Andre Heider --- diff --git a/include/host-build.mk b/include/host-build.mk index 827ea6bbfb..9fc14241c6 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -190,11 +190,11 @@ ifndef DUMP host-install: host-compile host-clean-build: FORCE + $(call Host/Uninstall) rm -rf $(HOST_BUILD_DIR) $(HOST_STAMP_BUILT) host-clean: host-clean-build $(call Host/Clean) - $(call Host/Uninstall) rm -rf $(HOST_STAMP_INSTALLED) ifneq ($(CONFIG_AUTOREMOVE),)