aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/e2fsprogs/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-28 11:27:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-06-28 11:27:31 +0000
commitdc2c976be201af4a742f1661e8f34ee46170d618 (patch)
tree190226eaae6d3e1baa08dd897fa11a439f42734c /package/utils/e2fsprogs/Makefile
parentcd296d4230026c973d6df554737b74ed335f6bd9 (diff)
downloadupstream-dc2c976be201af4a742f1661e8f34ee46170d618.tar.gz
upstream-dc2c976be201af4a742f1661e8f34ee46170d618.tar.bz2
upstream-dc2c976be201af4a742f1661e8f34ee46170d618.zip
e2fsprogs: change the so-version of libcom_err to prevent conflicts, move it into the libext2fs package, get rid of the pthread dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37076
Diffstat (limited to 'package/utils/e2fsprogs/Makefile')
-rw-r--r--package/utils/e2fsprogs/Makefile23
1 files changed, 6 insertions, 17 deletions
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile
index e40f280b38..0dca9808dd 100644
--- a/package/utils/e2fsprogs/Makefile
+++ b/package/utils/e2fsprogs/Makefile
@@ -41,7 +41,6 @@ endef
define Package/libext2fs
$(call Package/e2fsprogs/Default)
- DEPENDS:=+libcom_err
SECTION:=libs
CATEGORY:=Libraries
TITLE:=ext2/3/4 filesystem library
@@ -51,18 +50,6 @@ define Package/libext2fs/description
libext2fs is a library which can access ext2, ext3 and ext4 filesystems.
endef
-define Package/libcom_err
-$(call Package/e2fsprogs/Default)
- DEPENDS:=+libpthread
- SECTION:=libs
- CATEGORY:=Libraries
- TITLE:=Common error description library
-endef
-
-define Package/libcom_err/description
- libcom_err is a library providing common error descriptions
-endef
-
define Package/tune2fs
$(call Package/e2fsprogs)
TITLE:=Ext2 Filesystem tune utility
@@ -83,6 +70,8 @@ endef
TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
+CONFIGURE_VARS += \
+ ac_cv_lib_pthread_sem_init=no
CONFIGURE_ARGS += \
--disable-testio-debug \
@@ -130,13 +119,14 @@ define Package/e2fsprogs/install
endef
define Package/libcom_err/install
- $(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcom_err.so.* $(1)/usr/lib/
endef
define Package/libext2fs/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libext2fs.so.* $(1)/usr/lib/
+ $(CP) \
+ $(PKG_INSTALL_DIR)/usr/lib/libext2fs.so.* \
+ $(PKG_INSTALL_DIR)/usr/lib/libcom_err.so.* \
+ $(1)/usr/lib/
endef
define Package/libext2fs/install_lib
@@ -161,7 +151,6 @@ endef
$(eval $(call BuildPackage,e2fsprogs))
$(eval $(call BuildPackage,libext2fs))
-$(eval $(call BuildPackage,libcom_err))
$(eval $(call BuildPackage,tune2fs))
$(eval $(call BuildPackage,resize2fs))
$(eval $(call BuildPackage,badblocks))