| @@ -51,16 +51,18 @@ rootfs-all-print: · 50 unmodified lines |
| 51 | | 51 | |
| 52 | void-%-ROOTFS-$(DATE).tar.xz: $(SCRIPTS) | 52 | void-%-ROOTFS-$(DATE).tar.xz: $(SCRIPTS) |
| 53 | $(SUDO) ./mkrootfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* | 53 | $(SUDO) ./mkrootfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* |
| | 54 | mkdir -p stamps |
| | 55 | touch stamps/platformfs-$*-$(DATE)-stamp |
| 54 | | 56 | |
| 55 | platformfs-all: rootfs-all $(ALL_PLATFORMFS) | 57 | platformfs-all: rootfs-all $(ALL_PLATFORMFS) |
| 56 | | 58 | |
| 57 | platformfs-all-print: | 59 | platformfs-all-print: |
| 58 | @echo $(ALL_PLATFORMFS) | sed "s: :\n:g" | 60 | @echo $(ALL_PLATFORMFS) | sed "s: :\n:g" |
| 59 | | 61 | |
| 60 | void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) platformfs-%-helper | 62 | void-%-PLATFORMFS-$(DATE).tar.xz: $(SCRIPTS) stamps/platformfs-%-$(DATE)-stamp |
| 61 | $(SUDO) ./mkplatformfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz | 63 | $(SUDO) ./mkplatformfs.sh $(XBPS_REPOSITORY) -x $(COMPRESSOR_THREADS) $* void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz |
| 62 | | 64 | |
| 63 | platformfs-%-helper: | 65 | stamps/platformfs-%-$(DATE)-stamp: |
| 64 | # This rule exists because you can't do the shell expansion in the | 66 | # This rule exists because you can't do the shell expansion in the |
| 65 | # dependent rule resolution stage | 67 | # dependent rule resolution stage |
| 66 | $(MAKE) void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz | 68 | $(MAKE) void-$(shell ./lib.sh platform2arch $*)-ROOTFS-$(DATE).tar.xz |
| @@ -90,4 +92,4 @@ pxe-all-print: · 23 unmodified lines |
| 90 | void-%-NETBOOT-$(DATE).tar.gz: $(SCRIPTS) void-%-ROOTFS-$(DATE).tar.xz | 92 | void-%-NETBOOT-$(DATE).tar.gz: $(SCRIPTS) void-%-ROOTFS-$(DATE).tar.xz |
| 91 | $(SUDO) ./mknet.sh void-$*-ROOTFS-$(DATE).tar.xz | 93 | $(SUDO) ./mknet.sh void-$*-ROOTFS-$(DATE).tar.xz |
| 92 | | 94 | |
| 93 | .PHONY: clean dist rootfs-all-print platformfs-all-print pxe-all-print platformfs-%-helper | 95 | .PHONY: clean dist rootfs-all-print platformfs-all-print pxe-all-print |