From: Mike Frysinger Date: Thu, 8 Sep 2005 00:39:33 +0000 (-0000) Subject: samrobb writes in Bug 233: only clean host sed if we built it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=250245fa7e83d180b5c83f5284ba6c9660805b94;p=buildroot.git samrobb writes in Bug 233: only clean host sed if we built it --- diff --git a/package/sed/sed.mk b/package/sed/sed.mk index 6e31973968..024ecbba11 100644 --- a/package/sed/sed.mk +++ b/package/sed/sed.mk @@ -70,6 +70,7 @@ use-sed-host-binary: host-sed: $(HOST_SED_TARGET) +ifeq ($(HOST_SED_TARGET),build-sed-host-binary) host-sed-clean: $(MAKE) DESTDIR=$(HOST_SED_DIR) -C $(SED_DIR1) uninstall -$(MAKE) -C $(SED_DIR1) clean @@ -77,6 +78,10 @@ host-sed-clean: host-sed-dirclean: rm -rf $(SED_DIR1) +else +host-sed-clean host-sed-dirclean: + +endif ############################################################# #