mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
binutils: add option to build libopcodes for target
It provides functionality to disassemble executable binaries. Signed-off-by: Dries Deschout <dries.deschout@dodeco.eu>
This commit is contained in:
parent
40c83f1074
commit
61c4ccac5c
@ -184,6 +184,11 @@ config BINUTILS_FOR_TARGET_BFD
|
|||||||
prompt "libbfd"
|
prompt "libbfd"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config BINUTILS_FOR_TARGET_OPCODES
|
||||||
|
bool
|
||||||
|
prompt "libopcodes"
|
||||||
|
default y
|
||||||
|
|
||||||
endif # BINUTILS_FOR_TARGET
|
endif # BINUTILS_FOR_TARGET
|
||||||
|
|
||||||
if ARCH_BINFMT_FLAT
|
if ARCH_BINFMT_FLAT
|
||||||
|
@ -310,8 +310,9 @@ do_binutils_for_target() {
|
|||||||
local -a install_targets
|
local -a install_targets
|
||||||
local t
|
local t
|
||||||
|
|
||||||
[ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ] && targets+=("libiberty")
|
[ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ] && targets+=("libiberty")
|
||||||
[ "${CT_BINUTILS_FOR_TARGET_BFD}" = "y" ] && targets+=("bfd")
|
[ "${CT_BINUTILS_FOR_TARGET_BFD}" = "y" ] && targets+=("bfd")
|
||||||
|
[ "${CT_BINUTILS_FOR_TARGET_OPCODES}" = "y" ] && targets+=("opcodes")
|
||||||
for t in "${targets[@]}"; do
|
for t in "${targets[@]}"; do
|
||||||
build_targets+=("all-${t}")
|
build_targets+=("all-${t}")
|
||||||
install_targets+=("install-${t}")
|
install_targets+=("install-${t}")
|
||||||
|
Loading…
Reference in New Issue
Block a user