summaryrefslogtreecommitdiff
path: root/package/util-linux-ng
diff options
context:
space:
mode:
Diffstat (limited to 'package/util-linux-ng')
-rw-r--r--package/util-linux-ng/Config.in1
-rw-r--r--package/util-linux-ng/Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/package/util-linux-ng/Config.in b/package/util-linux-ng/Config.in
index 8c39f0a55..afb5d5104 100644
--- a/package/util-linux-ng/Config.in
+++ b/package/util-linux-ng/Config.in
@@ -25,6 +25,7 @@ config ADK_PACKAGE_SWAP_UTILS
tristate
default n
select ADK_COMPILE_UTIL_LINUX_NG
+ select ADK_PACKAGE_LIBBLKID
help
A collection of tools to manage swap space :
* mkswap
diff --git a/package/util-linux-ng/Makefile b/package/util-linux-ng/Makefile
index 397fdd572..4df74bf10 100644
--- a/package/util-linux-ng/Makefile
+++ b/package/util-linux-ng/Makefile
@@ -14,13 +14,14 @@ PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/util-linux-ng/v2.15/}
PKG_DESCR_1:= Partition table manipulation utility
PKG_DESCR_2:= Swap space management utilities
+PKG_DEPENDS_SWAP:= libblkid
PKG_DESCR_3:= Loop devices setup and control utility
PKG_DEPENDS_3:= kmod-loop
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
-$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION}))
+$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_SWAP},${PKG_DESCR_2},${PKG_SECTION}))
$(eval $(call PKG_template,LOSETUP,losetup,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_3},${PKG_DESCR_3},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu