[packages] squashfs-tools: fix recursive dependency
git-svn-id: svn://svn.openwrt.org/openwrt/packages@36371 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
95fc83a1d1
commit
0da7d6b3d0
@ -1,11 +1,11 @@
|
||||
if PACKAGE_squashfs-tools-mksquashfs || PACKAGE_squashfs-tools-unsquashfs
|
||||
|
||||
config SQUASHFS_TOOLS_LZO_SUPPORT
|
||||
depends on PACKAGE_squashfs-tools-mksquashfs || PACKAGE_squashfs-tools-unsquashfs
|
||||
bool "Enable LZO support"
|
||||
select PACKAGE_liblzo
|
||||
default y
|
||||
|
||||
config SQUASHFS_TOOLS_XZ_SUPPORT
|
||||
depends on PACKAGE_squashfs-tools-mksquashfs || PACKAGE_squashfs-tools-unsquashfs
|
||||
bool "Enable XZ support"
|
||||
select PACKAGE_liblzma
|
||||
default y
|
||||
|
||||
endif
|
||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=squashfs-tools
|
||||
PKG_VERSION:=4.2
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=squashfs$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/squashfs
|
||||
@ -26,9 +26,7 @@ define Package/squashfs-tools/Default
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=squashfs-tools
|
||||
DEPENDS += +libpthread +zlib \
|
||||
+SQUASHFS_TOOLS_LZO_SUPPORT:liblzo \
|
||||
+SQUASHFS_TOOLS_XZ_SUPPORT:liblzma
|
||||
DEPENDS += +libpthread +zlib
|
||||
endef
|
||||
|
||||
define Package/squashfs-tools-mksquashfs
|
||||
|
Loading…
x
Reference in New Issue
Block a user