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>
master
Jo-Philipp Wich 6 years ago
parent 790bce92ad
commit d7bf0898a8
  1. 11
      package/libs/elfutils/Makefile

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

Loading…
Cancel
Save