Skip to content

Commit

Permalink
binutils: build libopcodes for target
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Reichl <hias@horus.com>
  • Loading branch information
HiassofT authored and Kwiboo committed May 12, 2019
1 parent 56a93db commit 161ee81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/devel/binutils/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ make_target() {
make configure-host
make -C libiberty
make -C bfd
make -C opcodes
}

makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/lib
cp libiberty/libiberty.a $SYSROOT_PREFIX/usr/lib
make DESTDIR="$SYSROOT_PREFIX" -C bfd install
make DESTDIR="$SYSROOT_PREFIX" -C opcodes install
}

0 comments on commit 161ee81

Please sign in to comment.