summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2014-08-06 01:00:09 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-02 17:24:38 +0100
commit6a508d93610d63b6abedca990833b038429fc3f0 (patch)
tree2609f258cd30ce1199ccb01fbb7d0b9d6abc8138
parent4f2367f416baa3e146f0ac8355bd7dacdcdec74d (diff)
downloadbuildroot-6a508d93610d63b6abedca990833b038429fc3f0.tar.gz
buildroot-6a508d93610d63b6abedca990833b038429fc3f0.zip
binutils: Also install libopcodes in staging
This library will be used later in the "lightning" package. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/binutils/binutils.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 1ff7fbafa5..c3b3c18afd 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -78,9 +78,11 @@ HOST_BINUTILS_CONF_OPTS = \
$(BINUTILS_DISABLE_GDB_CONF_OPTS) \
$(BINUTILS_EXTRA_CONFIG_OPTIONS)
-# We just want libbfd and libiberty, not the full-blown binutils in staging
+# We just want libbfd, libiberty and libopcodes,
+# not the full-blown binutils in staging
define BINUTILS_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install
+ $(MAKE) -C $(@D)/opcodes DESTDIR=$(STAGING_DIR) install
$(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
endef
OpenPOWER on IntegriCloud