elfutils: rename libelf1 to libelf

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>
This commit is contained in:
Jo-Philipp Wich 2019-01-24 12:52:23 +01:00
parent 790bce92ad
commit d7bf0898a8

View 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))