summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-09-22 16:16:44 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 15:05:59 +0100
commitd37e2bb535c036cd30d5d7fa013855490f955c2f (patch)
tree1986959e445452ae59331c91a601f94302dff616
parentec6eac42b452d07ccdab6f159fbb469219fd0ef7 (diff)
downloadOSELAS.Toolchain-d37e2bb535c036cd30d5d7fa013855490f955c2f.tar.gz
cross-elf2flt: update to version 20161212-gbbe423fae32a
There is no need to make the version configurable. Also, we can handle git now so use it instead of a manual snapshot. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/cross-elf2flt.in23
-rw-r--r--rules/cross-elf2flt.make9
2 files changed, 10 insertions, 22 deletions
diff --git a/rules/cross-elf2flt.in b/rules/cross-elf2flt.in
index bdba80c..dbb1e59 100644
--- a/rules/cross-elf2flt.in
+++ b/rules/cross-elf2flt.in
@@ -1,23 +1,10 @@
# config for elf2flt
-menuconfig CROSS_ELF2FLT
+config CROSS_ELF2FLT
tristate
select CROSS_BINUTILS
- prompt "elf2flt "
+ prompt "elf2flt"
help
- FIXME
-
-if CROSS_ELF2FLT
-
-config CROSS_ELF2FLT_VERSION
- string
- prompt "elf2flt version"
- default "20110404-g40f0d17"
- help
- Specify the binutils version here.
-
-config CROSS_ELF2FLT_MD5
- string
- prompt "elf2flt source md5sum"
-
-endif
+ f2flt with PIC, ZFLAT and full reloc support. Currently supported
+ targets include: m68k/ColdFire, ARM, Sparc, NEC v850, MicroBlaze,ยท
+ h8300, SuperH, and Blackfin.
diff --git a/rules/cross-elf2flt.make b/rules/cross-elf2flt.make
index d876f82..49ca53b 100644
--- a/rules/cross-elf2flt.make
+++ b/rules/cross-elf2flt.make
@@ -16,16 +16,16 @@ CROSS_PACKAGES-$(PTXCONF_CROSS_ELF2FLT) += cross-elf2flt
#
# Paths and names
#
-CROSS_ELF2FLT_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_ELF2FLT_VERSION))
-CROSS_ELF2FLT_MD5 := $(call remove_quotes,$(PTXCONF_CROSS_ELF2FLT_MD5))
+CROSS_ELF2FLT_VERSION := 20161212-gbbe423fae32a
+CROSS_ELF2FLT_MD5 := 4ed84c4c71cf2bfa2d54314e75024d52
CROSS_ELF2FLT := elf2flt-$(CROSS_ELF2FLT_VERSION)
CROSS_ELF2FLT_SUFFIX := tar.gz
-CROSS_ELF2FLT_URL := http://www.pengutronix.de/software/ptxdist/temporary-src/$(CROSS_ELF2FLT).$(CROSS_ELF2FLT_SUFFIX)
+CROSS_ELF2FLT_URL := git://wh0rd.org/elf2flt.git;tag=$(CROSS_ELF2FLT_VERSION)
CROSS_ELF2FLT_SOURCE := $(SRCDIR)/$(CROSS_ELF2FLT).$(CROSS_ELF2FLT_SUFFIX)
CROSS_ELF2FLT_DIR := $(CROSS_BUILDDIR)/$(CROSS_ELF2FLT)
CROSS_ELF2FLT_LICENSE := GPL-2.0+
CROSS_ELF2FLT_LICENSE_FILES := \
- file://LICENSE.TXT;md5=393a5ca445f6965873eca0259a17f833
+ file://LICENSE.TXT;md5=70b24024535d82748f378e597d52b84a
# ----------------------------------------------------------------------------
# Prepare
@@ -40,6 +40,7 @@ CROSS_ELF2FLT_CONF_TOOL := autoconf
# HACK: add '-lz' because libbfd.a needs it and the Makefile adds it in the wrong order
CROSS_ELF2FLT_CONF_OPT := \
$(PTX_HOST_CROSS_AUTOCONF) \
+ --disable-werror \
--with-binutils-include-dir=$(CROSS_BINUTILS_DIR)/include \
--with-binutils-build-dir=$(CROSS_BINUTILS_BUILDDIR) \
--with-libbfd="$(CROSS_BINUTILS_BUILDDIR)/bfd/libbfd.a -lz -ldl"