forked from ~ljy/RK356X_SDK_RELEASE

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