Skip to content

Commit 82d34ee

Browse files
committed
Split rootfs-overlay target from rootfs-init
1 parent 0dff9e3 commit 82d34ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,13 @@ $(ROOTFS_DIR):
252252
.PHONY: rootfs-init
253253
rootfs-init: | $(ROOTFS_DIR)
254254
tar -xf $(ROOTFS_PARENT_DIR)/alpine-minirootfs-*-$(ARCH).tar.gz -C $(ROOTFS_DIR)
255+
$(MAKE) rootfs-overlay
256+
257+
.PHONY: rootfs-overlay
258+
rootfs-overlay: | $(ROOTFS_DIR)
255259
cp -f -r $(CONFIG_DIR)/rootfs-overlay/. $(ROOTFS_DIR)
256260
$(SCRIPT_DIR)/arch_specific.sh $(ARCH) $(ROOTFS_DIR)
257-
$(MAKE) ext4
261+
$(MAKE) rootfs
258262

259263
.PHONY: ext4
260264
ext4: | $(ROOTFS_DIR)

0 commit comments

Comments
 (0)