Commit 6a508d93 authored by Paul Cercueil's avatar Paul Cercueil Committed by Thomas Petazzoni
Browse files

binutils: Also install libopcodes in staging



This library will be used later in the "lightning" package.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 4f2367f4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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