mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
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 <a.heider@gmail.com>
This commit is contained in:
parent
53e6cc7a81
commit
02330a6556
@ -190,11 +190,11 @@ ifndef DUMP
|
|||||||
host-install: host-compile
|
host-install: host-compile
|
||||||
|
|
||||||
host-clean-build: FORCE
|
host-clean-build: FORCE
|
||||||
|
$(call Host/Uninstall)
|
||||||
rm -rf $(HOST_BUILD_DIR) $(HOST_STAMP_BUILT)
|
rm -rf $(HOST_BUILD_DIR) $(HOST_STAMP_BUILT)
|
||||||
|
|
||||||
host-clean: host-clean-build
|
host-clean: host-clean-build
|
||||||
$(call Host/Clean)
|
$(call Host/Clean)
|
||||||
$(call Host/Uninstall)
|
|
||||||
rm -rf $(HOST_STAMP_INSTALLED)
|
rm -rf $(HOST_STAMP_INSTALLED)
|
||||||
|
|
||||||
ifneq ($(CONFIG_AUTOREMOVE),)
|
ifneq ($(CONFIG_AUTOREMOVE),)
|
||||||
|
Loading…
Reference in New Issue
Block a user