From e79c8f39aa400649522b6fa8fe200fb79aa02346 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 6 Aug 2017 23:24:23 +0800 Subject: [PATCH] Makefile: Fix the clean target by re-ordering The sstate cleaning requires a tmp directory. So don't delete it first. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c21fde3..a3bda96 100644 --- a/Makefile +++ b/Makefile @@ -129,8 +129,8 @@ build.%: | git/poky $(Q)cd build.$(CUR_MACHINE) && ../scripts/upload-build.sh $(CUR_MACHINE) $(FEED_NAME) %-clean: | build.$(subst -clean,,%) git/poky - $(Q)cd build.$(CUR_MACHINE) && rm -rf tmp $(Q)cd build.$(CUR_MACHINE) && ../git/poky/scripts/sstate-cache-management.sh --cache-dir=sstate-cache -y -L --stamps-dir=tmp/stamps/ + $(Q)cd build.$(CUR_MACHINE) && rm -rf tmp # Create all build directories, build everything, upload everything, clean everything setup-all: | $(foreach machine, $(MACHINES), $(machine)-setup)