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
This commit is contained in:
parent
cd296d4230
commit
dc2c976be2
|
@ -41,7 +41,6 @@ endef
|
||||||
|
|
||||||
define Package/libext2fs
|
define Package/libext2fs
|
||||||
$(call Package/e2fsprogs/Default)
|
$(call Package/e2fsprogs/Default)
|
||||||
DEPENDS:=+libcom_err
|
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=ext2/3/4 filesystem library
|
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.
|
libext2fs is a library which can access ext2, ext3 and ext4 filesystems.
|
||||||
endef
|
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
|
define Package/tune2fs
|
||||||
$(call Package/e2fsprogs)
|
$(call Package/e2fsprogs)
|
||||||
TITLE:=Ext2 Filesystem tune utility
|
TITLE:=Ext2 Filesystem tune utility
|
||||||
|
@ -83,6 +70,8 @@ endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
|
TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections
|
||||||
|
|
||||||
|
CONFIGURE_VARS += \
|
||||||
|
ac_cv_lib_pthread_sem_init=no
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-testio-debug \
|
--disable-testio-debug \
|
||||||
|
@ -130,13 +119,14 @@ define Package/e2fsprogs/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libcom_err/install
|
define Package/libcom_err/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcom_err.so.* $(1)/usr/lib/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libext2fs/install
|
define Package/libext2fs/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(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
|
endef
|
||||||
|
|
||||||
define Package/libext2fs/install_lib
|
define Package/libext2fs/install_lib
|
||||||
|
@ -161,7 +151,6 @@ endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,e2fsprogs))
|
$(eval $(call BuildPackage,e2fsprogs))
|
||||||
$(eval $(call BuildPackage,libext2fs))
|
$(eval $(call BuildPackage,libext2fs))
|
||||||
$(eval $(call BuildPackage,libcom_err))
|
|
||||||
$(eval $(call BuildPackage,tune2fs))
|
$(eval $(call BuildPackage,tune2fs))
|
||||||
$(eval $(call BuildPackage,resize2fs))
|
$(eval $(call BuildPackage,resize2fs))
|
||||||
$(eval $(call BuildPackage,badblocks))
|
$(eval $(call BuildPackage,badblocks))
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
--- a/lib/et/Makefile.in
|
||||||
|
+++ b/lib/et/Makefile.in
|
||||||
|
@@ -25,8 +25,8 @@ SHARE_FILES= et_c.awk et_h.awk
|
||||||
|
LIBRARY= libcom_err
|
||||||
|
LIBDIR= et
|
||||||
|
|
||||||
|
-ELF_VERSION = 2.1
|
||||||
|
-ELF_SO_VERSION = 2
|
||||||
|
+ELF_VERSION = 0.0
|
||||||
|
+ELF_SO_VERSION = 0
|
||||||
|
ELF_IMAGE = libcom_err
|
||||||
|
ELF_MYDIR = et
|
||||||
|
ELF_INSTALL_DIR = $(root_libdir)
|
Loading…
Reference in New Issue