summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-10 14:06:54 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-10 14:06:54 +0200
commita99ef87e0ec79df8ea750bc853e0ba762ad13794 (patch)
treeb55b7a9babe3c86eaa3d702a467c3cdc9fab6a5b
parent7edc716bbaa92b7d8658c4a4009f1f6c5ed260ad (diff)
downloadOSELAS.Toolchain-a99ef87e0ec79df8ea750bc853e0ba762ad13794.tar.gz
OSELAS.Toolchain-a99ef87e0ec79df8ea750bc853e0ba762ad13794.tar.xz
avrlib: add md5sum
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/avrlib.in9
-rw-r--r--rules/avrlib.make1
2 files changed, 9 insertions, 1 deletions
diff --git a/rules/avrlib.in b/rules/avrlib.in
index cd8c6a3..f950449 100644
--- a/rules/avrlib.in
+++ b/rules/avrlib.in
@@ -16,10 +16,17 @@ menuconfig AVRLIB
Build the multi C library for the harvard based AVR
architecture
+if AVRLIB
+
config AVRLIB_VERSION
- depends on AVRLIB
string
prompt "avr libc version"
default "1.6.2"
help
Specify the AVR libc version here.
+
+config AVRLIB_MD5
+ string
+ prompt "avr libc source md5sum"
+
+endif
diff --git a/rules/avrlib.make b/rules/avrlib.make
index a1281c3..81cd842 100644
--- a/rules/avrlib.make
+++ b/rules/avrlib.make
@@ -18,6 +18,7 @@ PACKAGES-$(PTXCONF_AVRLIB) += avrlib
# Paths and names
#
AVRLIB_VERSION := $(call remove_quotes,$(PTXCONF_AVRLIB_VERSION))
+AVRLIB_MD5 := $(call remove_quotes,$(PTXCONF_AVRLIB_MD5))
AVRLIB := avr-libc-$(AVRLIB_VERSION)
AVRLIB_SUFFIX := tar.bz2
AVRLIB_URL := http://download.savannah.gnu.org/releases/avr-libc/$(AVRLIB).$(AVRLIB_SUFFIX)