summaryrefslogtreecommitdiff
path: root/package/e2fsprogs
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-29 08:49:48 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-29 08:49:48 +0200
commite1fbd63f3c9700ef9d590ea7b4659ca592db5e3c (patch)
tree7b86200292e106ac9ac8b5d9ca363304b263fe45 /package/e2fsprogs
parent7ee8ebbd813ad0a6d2392ef628c1724104f0619b (diff)
package: use libuuid from util-linux
And adjust users. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r--package/e2fsprogs/Config.in25
-rw-r--r--package/e2fsprogs/e2fsprogs.mk19
2 files changed, 5 insertions, 39 deletions
diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index 76586d239..91e167067 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -6,16 +6,13 @@ config BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # util-linux
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
- The EXT2 file system utilities and libraries
+ The EXT2 file system utilities.
-menuconfig BR2_PACKAGE_E2FSPROGS_UTILS
- bool "e2fsprogs utilities"
- depends on BR2_PACKAGE_E2FSPROGS
- help
- e2fsprogs utilities selection
+ http://e2fsprogs.sf.net
-if BR2_PACKAGE_E2FSPROGS_UTILS
+if BR2_PACKAGE_E2FSPROGS
config BR2_PACKAGE_E2FSPROGS_BADBLOCKS
bool "badblocks"
@@ -31,7 +28,6 @@ config BR2_PACKAGE_E2FSPROGS_DEBUGFS
config BR2_PACKAGE_E2FSPROGS_DUMPE2FS
bool "dumpe2fs"
default y
- select BR2_PACKAGE_E2FSPROGS_LIBUUID
config BR2_PACKAGE_E2FSPROGS_E2FREEFRAG
bool "e2freefrag"
@@ -93,27 +89,14 @@ config BR2_PACKAGE_E2FSPROGS_TUNE2FS
config BR2_PACKAGE_E2FSPROGS_UUIDGEN
bool "uuidgen"
default y
- select BR2_PACKAGE_E2FSPROGS_LIBUUID
config BR2_PACKAGE_E2FSPROGS_UUIDD
bool "uuidd"
default y
- select BR2_PACKAGE_E2FSPROGS_LIBUUID
help
The uuidd daemon from the e2fsprogs suite
endif
-menu "e2fsprogs libraries"
- depends on BR2_PACKAGE_E2FSPROGS
-
-config BR2_PACKAGE_E2FSPROGS_LIBUUID
- bool "libuuid"
- help
- The uuid library from the e2fsprogs suite
-
-endmenu
-
comment "e2fsprogs requires a toolchain with LARGEFILE + WCHAR support"
depends on !(BR2_LARGEFILE && BR2_USE_WCHAR)
-
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 21e65d15a..1cfeb0135 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -6,7 +6,6 @@
E2FSPROGS_VERSION = 1.41.14
E2FSPROGS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
-E2FSPROGS_INSTALL_STAGING = YES
E2FSPROGS_CONF_OPT = \
--disable-tls \
@@ -16,6 +15,7 @@ E2FSPROGS_CONF_OPT = \
$(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),,--disable-resizer) \
$(if $(BR2_PACKAGE_E2FSPROGS_UUIDD),,--disable-uuidd) \
--disable-blkid \
+ --disable-libuuid \
--enable-fsck \
--disable-e2initrd-helper \
--disable-testio-debug
@@ -45,13 +45,6 @@ E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += usr/sbin/mke2fs
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += usr/sbin/mklost+found
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += usr/bin/uuidgen
-# libraries to keep or remove
-E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LIBUUID) += usr/lib/libuuid.so*
-E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libcom_err.so*
-E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libe2p.so*
-E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libext2fs.so*
-E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libss.so*
-
# files to remove
E2FSPROGS_TXTTARGETS_ = \
usr/sbin/mkfs.ext[234] \
@@ -106,15 +99,5 @@ ifeq ($(BR2_PACKAGE_E2FSPROGS_FINDFS),y)
E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_FINDFS_SYMLINK
endif
-define E2FSPROGS_STAGING_LIBUUID_INSTALL
- install -D $(@D)/lib/uuid/uuid.h $(STAGING_DIR)/usr/include/uuid/uuid.h
- install -D $(@D)/lib/uuid/uuid.pc \
- $(STAGING_DIR)/usr/lib/pkgconfig/uuid.pc
-endef
-
-ifeq ($(BR2_PACKAGE_E2FSPROGS_LIBUUID),y)
-E2FSPROGS_POST_INSTALL_STAGING_HOOKS += E2FSPROGS_STAGING_LIBUUID_INSTALL
-endif
-
$(eval $(call AUTOTARGETS,package,e2fsprogs))
$(eval $(call AUTOTARGETS,package,e2fsprogs,host))