From: Peter Korsgaard Date: Tue, 1 Apr 2008 10:30:32 +0000 (-0000) Subject: Makefile.autotools.in: Do uninstall in staging/target dirs on -clean X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e556bff41d895b78fecd93896d77b2de45ed19f9;p=buildroot.git Makefile.autotools.in: Do uninstall in staging/target dirs on -clean --- diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 1243c35221..492d4497d1 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -234,6 +234,8 @@ $(BUILD_DIR)/%/.stamp_target_installed: $(BUILD_DIR)/%/.stamp_cleaned: $(call MESSAGE,"Cleaning up") + -$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR) + -$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR) -$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR) $(BUILD_DIR)/%/.stamp_uninstalled: