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"
|
||||
default y
|
||||
|
||||
config BINUTILS_FOR_TARGET_OPCODES
|
||||
bool
|
||||
prompt "libopcodes"
|
||||
default y
|
||||
|
||||
endif # BINUTILS_FOR_TARGET
|
||||
|
||||
if ARCH_BINFMT_FLAT
|
||||
|
@ -312,6 +312,7 @@ do_binutils_for_target() {
|
||||
|
||||
[ "${CT_BINUTILS_FOR_TARGET_IBERTY}" = "y" ] && targets+=("libiberty")
|
||||
[ "${CT_BINUTILS_FOR_TARGET_BFD}" = "y" ] && targets+=("bfd")
|
||||
[ "${CT_BINUTILS_FOR_TARGET_OPCODES}" = "y" ] && targets+=("opcodes")
|
||||
for t in "${targets[@]}"; do
|
||||
build_targets+=("all-${t}")
|
||||
install_targets+=("install-${t}")
|
||||
|
Loading…
Reference in New Issue
Block a user