Browse Source

- create rootfs tarballs for coolstream images

master
vanhofen 3 years ago
parent
commit
0dbdd53676
  1. 11
      make/target-rootfs.mk

11
make/target-rootfs.mk

@ -83,6 +83,9 @@ personalize: | $(TARGET_DIR)
# -----------------------------------------------------------------------------
rootfs: target-finish $(ROOTFS) rootfs-cleanup rootfs-strip
ifeq ($(BOXTYPE),coolstream)
make rootfs-tarball
endif
# -----------------------------------------------------------------------------
@ -152,6 +155,14 @@ endif
# -----------------------------------------------------------------------------
ROOTFS_TARBALL = $(IMAGE_DIR)/$(IMAGE_NAME)-rootfs.tgz
rootfs-tarball: $(ROOTFS_TARBALL)
$(ROOTFS_TARBALL):
tar cf $(@) -C $(ROOTFS) .
# -----------------------------------------------------------------------------
PHONY += target-finish
PHONY += .version $(TARGET_DIR)/.version
PHONY += update.urls $(TARGET_localstatedir)/etc/update.urls

Loading…
Cancel
Save