Browse Source

- rootfs.mk: more clarity what the targets do

master
vanhofen 6 years ago
parent
commit
4a48ac54e1
  1. 12
      make/rootfs.mk

12
make/rootfs.mk

@ -1,9 +1,9 @@
# #
# targets to create rootfs # targets to finish TARGET_DIR and create rootfs
# #
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
rootfs: .version update.urls $(ROOTFS) rootfs-cleanup rootfs-strip rootfs-softlinks target-finish: .version update.urls
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -50,6 +50,10 @@ personalize: | $(TARGET_DIR)
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
rootfs: target-finish $(ROOTFS) rootfs-cleanup rootfs-strip rootfs-softlinks
# -----------------------------------------------------------------------------
# create filesystem for our images # create filesystem for our images
$(ROOTFS): | $(TARGET_DIR) $(ROOTFS): | $(TARGET_DIR)
rm -rf $(ROOTFS) rm -rf $(ROOTFS)
@ -172,10 +176,12 @@ get-update-info-hd1:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
PHONY += rootfs PHONY += target-finish
PHONY += .version $(TARGET_DIR)/.version PHONY += .version $(TARGET_DIR)/.version
PHONY += update.urls $(TARGET_DIR)/var/etc/update.urls PHONY += update.urls $(TARGET_DIR)/var/etc/update.urls
PHONY += personalize PHONY += personalize
PHONY += rootfs
PHONY += $(ROOTFS) PHONY += $(ROOTFS)
PHONY += rootfs-cleanup PHONY += rootfs-cleanup
PHONY += rootfs-strip PHONY += rootfs-strip

Loading…
Cancel
Save