mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 03:06:42 +00:00
binutils/binutils: do not forget to extract elf2flt
In case we're using a custom (aka local) binutils source, we still need to extract and patch elf2flt. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
04a7340d0a
commit
298982aab2
@ -21,14 +21,12 @@ do_binutils_get() {
|
||||
# Extract binutils
|
||||
do_binutils_extract() {
|
||||
# If using custom directory location, nothing to do
|
||||
if [ "${CT_BINUTILS_CUSTOM}" = "y" \
|
||||
if ! [ "${CT_BINUTILS_CUSTOM}" = "y" \
|
||||
-a -d "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}" ]; then
|
||||
return 0
|
||||
CT_Extract "binutils-${CT_BINUTILS_VERSION}"
|
||||
CT_Patch "binutils" "${CT_BINUTILS_VERSION}"
|
||||
fi
|
||||
|
||||
CT_Extract "binutils-${CT_BINUTILS_VERSION}"
|
||||
CT_Patch "binutils" "${CT_BINUTILS_VERSION}"
|
||||
|
||||
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
||||
CT_Extract "elf2flt-${CT_ELF2FLT_GIT_CSET}"
|
||||
CT_Patch "elf2flt" "${CT_ELF2FLT_GIT_CSET}"
|
||||
|
Loading…
Reference in New Issue
Block a user