util-linux: disable udev support, add missing dependencies
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Jun 2012 00:56:41 +0000 (00:56 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 11 Jun 2012 00:56:41 +0000 (00:56 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32183 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/util-linux/Makefile

index d61451d..a6ff739 100644 (file)
@@ -34,7 +34,8 @@ CONFIGURE_ARGS += \
        --enable-new-mount      \
        --with-ncurses          \
        --disable-nls           \
        --enable-new-mount      \
        --with-ncurses          \
        --disable-nls           \
-       --disable-tls
+       --disable-tls           \
+       --without-udev
 
 TARGET_CFLAGS += $(FPIC)
 
 
 TARGET_CFLAGS += $(FPIC)
 
@@ -79,6 +80,7 @@ endef
 
 define Package/libmount
 $(call Package/util-linux/Default)
 
 define Package/libmount
 $(call Package/util-linux/Default)
+  DEPENDS:=+libblkid
   TITLE:=mount library
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE:=mount library
   SECTION:=libs
   CATEGORY:=Libraries
@@ -260,7 +262,7 @@ endef
 define Package/mount-utils
 $(call Package/util-linux/Default)
   TITLE:=related (u)mount utilities
 define Package/mount-utils
 $(call Package/util-linux/Default)
   TITLE:=related (u)mount utilities
-  DEPENDS+= +libblkid +libmount
+  DEPENDS+= +libmount
 endef
 
 define Package/mount-utils/description
 endef
 
 define Package/mount-utils/description
@@ -311,6 +313,7 @@ endef
 define Package/setterm
 $(call Package/util-linux/Default)
   TITLE:=set terminal attributes
 define Package/setterm
 $(call Package/util-linux/Default)
   TITLE:=set terminal attributes
+  DEPENDS:= +libncurses
   SUBMENU:=Terminal
 endef
 
   SUBMENU:=Terminal
 endef