Skip to content

Commit

Permalink
build: call Host/Uninstall before wiping the host build dir
Browse files Browse the repository at this point in the history
Uninstall targets may depend on build artefacts, like `make uninstall`
or `ninja uninstall`.

Signed-off-by: Andre Heider <[email protected]>
  • Loading branch information
dhewg authored and blogic committed Oct 21, 2019
1 parent 53e6cc7 commit 02330a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/host-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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),)
Expand Down

0 comments on commit 02330a6

Please sign in to comment.