tar.mk 368 B

12345678910111213
  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. tar -c$(TAR_OPTS)f $@ -C $(TARGET_DIR) .
  9. endef
  10. $(eval $(call ROOTFS_TARGET,tar))