Remove fakeroot files after use to avoid rerun
This commit is contained in:
parent
8118da1449
commit
c2fc93bcf2
4
Makefile
4
Makefile
|
@ -199,6 +199,8 @@ include package/*/*.mk
|
||||||
# target stuff is last so it can override anything else
|
# target stuff is last so it can override anything else
|
||||||
include target/Makefile.in
|
include target/Makefile.in
|
||||||
|
|
||||||
|
TARGETS+=erase-fakeroots
|
||||||
|
|
||||||
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
|
||||||
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
|
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
|
||||||
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
|
||||||
|
@ -255,6 +257,8 @@ $(PROJECT_BUILD_DIR)/.root: $(TARGET_DIR)
|
||||||
fi;
|
fi;
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
erase-fakeroots:
|
||||||
|
rm -f $(STAGING_DIR)/.fakeroot*
|
||||||
|
|
||||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue