diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index c966cdc10b..69f7979149 100644 --- a/package/gdb/gdb.mk +++ b/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 diff --git a/package/libiberty/libiberty.hash b/package/libiberty/libiberty.hash deleted file mode 120000 index e0655d3af3..0000000000 --- a/package/libiberty/libiberty.hash +++ /dev/null @@ -1 +0,0 @@ -../binutils/binutils.hash \ No newline at end of file diff --git a/package/libiberty/libiberty.mk b/package/libiberty/libiberty.mk deleted file mode 100644 index ac6afc44ca..0000000000 --- a/package/libiberty/libiberty.mk +++ /dev/null @@ -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))