From: Ulf Samuelsson Date: Wed, 15 Aug 2007 09:47:49 +0000 (-0000) Subject: Remove fakeroot files after use to avoid rerun X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2fc93bcf2c405211e786372fcee63680b6ba9ed;p=buildroot.git Remove fakeroot files after use to avoid rerun --- diff --git a/Makefile b/Makefile index 89e6caef13..fabc3a81f6 100644 --- a/Makefile +++ b/Makefile @@ -199,6 +199,8 @@ include package/*/*.mk # target stuff is last so it can override anything else include target/Makefile.in +TARGETS+=erase-fakeroots + TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS)) TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS)) @@ -255,6 +257,8 @@ $(PROJECT_BUILD_DIR)/.root: $(TARGET_DIR) fi; touch $@ +erase-fakeroots: + rm -f $(STAGING_DIR)/.fakeroot* source: $(TARGETS_SOURCE) $(HOST_SOURCE)