tar: add PKG_CONFIG_DEPENDS
authorRosen Penev <rosenp@gmail.com>
Thu, 21 Jul 2022 03:33:30 +0000 (23:33 -0400)
committerRosen Penev <rosenp@gmail.com>
Thu, 28 Jul 2022 21:18:00 +0000 (14:18 -0700)
fixes compilation when deselecting options.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/tar/Makefile

index bf59f4c1d5509ff1a0bf960d09435479ac0551ba..832c452350524cad94e9c40cb46faf53fbf5e0ae 100644 (file)
@@ -20,8 +20,15 @@ PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:gnu:tar
 
-PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
+PKG_CONFIG_DEPENDS:= \
+       CONFIG_PACKAGE_TAR_POSIX_ACL \
+       CONFIG_PACKAGE_TAR_XATTR \
+       CONFIG_PACKAGE_TAR_BZIP2 \
+       CONFIG_PACKAGE_TAR_GZIP \
+       CONFIG_PACKAGE_TAR_XZ \
+       CONFIG_PACKAGE_TAR_ZSTD
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -53,7 +60,7 @@ define Package/tar/config
                        default y
 
                config PACKAGE_TAR_GZIP
-                       bool "tar: Enable seamless gzip support"
+                       bool "tar: Enable seamless gzip support. Needed for sysupgrade."
                        default y
 
                config PACKAGE_TAR_XZ