elfutils: rename libelf1 to libelf
authorJo-Philipp Wich <jo@mein.io>
Thu, 24 Jan 2019 11:52:23 +0000 (12:52 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 24 Jan 2019 11:52:23 +0000 (12:52 +0100)
The ABI_VERSION:=1 tag will take care of transforming the binary
library package basename.

Add a virtual PROVIDES:=libelf1 for packages still having libelf1
in their DEPENDS:=... lists.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/libs/elfutils/Makefile

index 3ee1c472a1f136cae7d23e01c8bfb6de20e9cc3d..a980d35ea87285c790d3d6b24117fd07fae616cd 100644 (file)
@@ -39,19 +39,20 @@ endef
 define Package/libasm
   $(call Package/elfutils/Default)
   TITLE+= (libasm)
-  DEPENDS:=libelf1 +libdw
+  DEPENDS:=libelf +libdw
 endef
 
 define Package/libdw
   $(call Package/elfutils/Default)
-  DEPENDS:=libelf1 +libbz2
+  DEPENDS:=libelf +libbz2
   TITLE+= (libdw)
 endef
 
-define Package/libelf1
+define Package/libelf
   $(call Package/elfutils/Default)
   DEPENDS:=$(INTL_DEPENDS) +zlib
   TITLE+= (libelf)
+  PROVIDES:=libelf1
 endef
 
 ifeq ($(CONFIG_BUILD_NLS),y)
@@ -88,11 +89,11 @@ define Package/libdw/install
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdw*.so.* $(1)/usr/lib/
 endef
 
-define Package/libelf1/install
+define Package/libelf/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf*.so.* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,libasm))
 $(eval $(call BuildPackage,libdw))
-$(eval $(call BuildPackage,libelf1))
+$(eval $(call BuildPackage,libelf))