summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-12-06 09:51:50 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-12-13 11:20:45 +0100
commitdf538a383f177b74ba7512c7e015fef49fa0d9ed (patch)
treea3a8956a787b8a3310dc585be1bdc445c6bf6b01 /rules
parentfb3afba30f2da67beea337e09fbd20fafdebeb79 (diff)
downloadOSELAS.Toolchain-df538a383f177b74ba7512c7e015fef49fa0d9ed.tar.gz
OSELAS.Toolchain-df538a383f177b74ba7512c7e015fef49fa0d9ed.tar.xz
newlib: add support for download version
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/newlib.in7
-rw-r--r--rules/newlib.make2
2 files changed, 8 insertions, 1 deletions
diff --git a/rules/newlib.in b/rules/newlib.in
index c1d285d..bff5384 100644
--- a/rules/newlib.in
+++ b/rules/newlib.in
@@ -27,6 +27,13 @@ config NEWLIB_VERSION
help
Specify the newlib version here.
+config NEWLIB_DL_VERSION
+ string
+ prompt "newlib download version"
+ default "${PTXCONF_NEWLIB_VERSION}"
+ help
+ The version of the downloaded archive.
+
config NEWLIB_MD5
string
prompt "newlib source md5sum"
diff --git a/rules/newlib.make b/rules/newlib.make
index 17716c5..c334e3a 100644
--- a/rules/newlib.make
+++ b/rules/newlib.make
@@ -16,7 +16,7 @@ PACKAGES-$(PTXCONF_NEWLIB) += newlib
#
# Paths and names
#
-NEWLIB_VERSION := $(call remove_quotes,$(PTXCONF_NEWLIB_VERSION))
+NEWLIB_VERSION := $(call remove_quotes,$(PTXCONF_NEWLIB_DL_VERSION))
NEWLIB_MD5 := $(call remove_quotes,$(PTXCONF_NEWLIB_MD5))
NEWLIB := newlib-$(NEWLIB_VERSION)
NEWLIB_SUFFIX := tar.gz