Browse Source

Makefile: Remove buggy stamps detection, manual sequencing is required for platform targets

Michael Aldridge 7 years ago
parent
commit
2f696872c3
1 changed files with 2 additions and 9 deletions
  1. 2 9
      Makefile

+ 2 - 9
Makefile

@@ -52,22 +52,15 @@ rootfs-all-print:
 
 void-%-ROOTFS-$(DATE).tar.xz: $(SCRIPTS)
 	$(SUDO) ./mkrootfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $*
-	mkdir -p stamps
-	touch stamps/rootfs-$*-$(DATE)-stamp
 
-platformfs-all: rootfs-all $(ALL_PLATFORMFS)
+platformfs-all: $(ALL_PLATFORMFS)
 
 platformfs-all-print:
 	@echo $(ALL_PLATFORMFS) | sed "s: :\n:g"
 
-void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) stamps/rootfs-%-$(DATE)-stamp
+void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS)
 	$(SUDO) ./mkplatformfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz
 
-stamps/rootfs-%-$(DATE)-stamp:
-# This rule exists because you can't do the shell expansion in the
-# dependent rule resolution stage
-	$(MAKE) void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz
-
 images-all: platformfs-all images-all-sbc images-all-cloud
 
 images-all-sbc: $(ALL_SBC_IMAGES)