Browse Source

- target-rootfs: fix apollo/shiner rootfs tarball creation

master
vanhofen 3 years ago
parent
commit
76886ffe44
  1. 9
      make/target-rootfs.mk

9
make/target-rootfs.mk

@ -163,6 +163,15 @@ ROOTFS_TARBALL_EXCLUDE = \
rootfs-tarball: $(ROOTFS_TARBALL)
$(ROOTFS_TARBALL):
tar czf $(@) -C $(ROOTFS) $(foreach exclude,$(ROOTFS_TARBALL_EXCLUDE),--exclude='$(exclude)' ) .
ifeq ($(BOXMODEL),$(filter $(BOXMODEL),apollo shiner))
ifeq ($(BOXMODEL),apollo)
# create rootfs tarball for shiner too when building apollo
$(INSTALL_COPY) $(@) $(subst apollo,shiner,$(@))
else ifeq ($(BOXMODEL),shiner)
# create rootfs tarball for apollo too when building shiner
$(INSTALL_COPY) $(@) $(subst shiner,apollo,$(@))
endif
endif
# -----------------------------------------------------------------------------

Loading…
Cancel
Save