tar.mk 435 B

1234567891011121314
  1. ################################################################################
  2. #
  3. # tar to archive target filesystem
  4. #
  5. ################################################################################
  6. TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
  7. define ROOTFS_TAR_CMD
  8. (cd $(TARGET_DIR); find -print0 | LC_ALL=C sort -z | \
  9. tar $(TAR_OPTS) -cf $@ --null --no-recursion -T - --numeric-owner)
  10. endef
  11. $(eval $(rootfs))