浏览代码

package/libiberty: remove package

host-libiberty was only used by host-prelink-cross, which has now been
removed.

The dependency of host-gdb on host-libiberty was not because it was
needed, but because if both host-libiberty and host-gdb were built,
host-gdb should be built after host-liberty. See commit
f0a583ddc4c2cab121330284e316f54229dee492 ("package/gdb: depend on
libiberty")

Fixes:

  http://autobuild.buildroot.net/results/82d2d7d30c8e00bf6e9918c3d989f65a7330d381/ (host-binutils)
  http://autobuild.buildroot.net/results/a4674122a683e4842c1fd913da80a3e6e484d5a5/ (host-binutils-bare-metal)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Thomas Petazzoni 6 月之前
父节点
当前提交
9347328193
共有 3 个文件被更改,包括 1 次插入36 次删除
  1. 1 3
      package/gdb/gdb.mk
  2. 0 1
      package/libiberty/libiberty.hash
  3. 0 32
      package/libiberty/libiberty.mk

+ 1 - 3
package/gdb/gdb.mk

@@ -30,9 +30,7 @@ GDB_PRE_CONFIGURE_HOOKS += GDB_CONFIGURE_SYMLINK
 # For the host variant, we really want to build with XML support,
 # which is needed to read XML descriptions of target architectures. We
 # also need ncurses.
-# As for libiberty, gdb may use a system-installed one if present, so
-# we must ensure ours is installed first.
-HOST_GDB_DEPENDENCIES = host-expat host-libiberty host-ncurses host-zlib
+HOST_GDB_DEPENDENCIES = host-expat host-ncurses host-zlib
 
 # Disable building documentation
 GDB_MAKE_OPTS += MAKEINFO=true

+ 0 - 1
package/libiberty/libiberty.hash

@@ -1 +0,0 @@
-../binutils/binutils.hash

+ 0 - 32
package/libiberty/libiberty.mk

@@ -1,32 +0,0 @@
-################################################################################
-#
-# libiberty
-#
-################################################################################
-
-LIBIBERTY_VERSION = 2.41
-LIBIBERTY_SOURCE = binutils-$(LIBIBERTY_VERSION).tar.xz
-LIBIBERTY_SITE = $(BR2_GNU_MIRROR)/binutils
-HOST_LIBIBERTY_DL_SUBDIR = binutils
-
-# We're only building libiberty here, not the full binutils suite
-LIBIBERTY_LICENSE = LGPL-2.1+
-LIBIBERTY_LICENSE_FILES = COPYING.LIB
-
-LIBIBERTY_SUBDIR = libiberty
-
-# We explicitly disable multilib, as we do in binutils.
-# By default, libiberty installs nothing, so we must force it.
-HOST_LIBIBERTY_CONF_OPTS = \
-	--disable-multilib \
-	--enable-install-libiberty
-
-# Some packages (e.g. host-gdb) will pick this library and build shared
-# objects with it. But libiberty does not honour the --enable-shared and
-# --disable-static flags; it only ever builds a static library no matter
-# what. So we must force -fPIC in build flags.
-HOST_LIBIBERTY_CONF_ENV = \
-	CFLAGS="$(HOST_CFLAGS) -fPIC" \
-	LDFLAGS="$(HOST_LDFLAGS) -fPIC"
-
-$(eval $(host-autotools-package))