diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 00:39:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 00:39:33 +0000 |
commit | 250245fa7e83d180b5c83f5284ba6c9660805b94 (patch) | |
tree | 757f1c7497c39423299b88ab38eec84a40fdb47d /package/sed/sed.mk | |
parent | f39499bc64e977e7b4db8ff0619f0881e2ad4c8e (diff) | |
download | buildroot-novena-250245fa7e83d180b5c83f5284ba6c9660805b94.tar.gz buildroot-novena-250245fa7e83d180b5c83f5284ba6c9660805b94.zip |
samrobb writes in Bug 233: only clean host sed if we built it
Diffstat (limited to 'package/sed/sed.mk')
-rw-r--r-- | package/sed/sed.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/sed/sed.mk b/package/sed/sed.mk index 6e3197396..024ecbba1 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 ############################################################# # |