[PATCH 2 of 3] config/uclibc: normalize uclibc hidden version names
Bryan Hundven
bryanhundven@gmail.com
Fri Dec 31 19:29:00 GMT 2010
config/libc/uClibc.in | 24 ++++++++++++------------
scripts/build/libc/uClibc.sh | 8 ++++----
2 files changed, 16 insertions(+), 16 deletions(-)
# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1293823330 28800
# Node ID 3dbf478aa121004ad748315b3176f6cb49ed2ed4
# Parent dc1cce388f9634a7c5bf06f1f912092ca9ad2e83
config/uclibc: normalize uclibc hidden version names
Hidden version names for uClibc conflicted:
LIBC_UCLIBC_V_0_9_30_2
LIBC_V_0_9_30_1
name them constantly as:
LIBC_UCLIBC_V_<version>
Also update the build script where we use snapshots by version or snapshots by date.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
diff -r dc1cce388f96 -r 3dbf478aa121 config/libc/uClibc.in
--- a/config/libc/uClibc.in Fri Dec 31 11:22:02 2010 -0800
+++ b/config/libc/uClibc.in Fri Dec 31 11:22:10 2010 -0800
@@ -31,22 +31,22 @@
prompt "0.9.30.2"
select LIBC_UCLIBC_0_9_30_or_later
-config LIBC_V_0_9_30_1
+config LIBC_UCLIBC_V_0_9_30_1
bool
prompt "0.9.30.1"
select LIBC_UCLIBC_0_9_30_or_later
-config LIBC_V_0_9_30
+config LIBC_UCLIBC_V_0_9_30
bool
prompt "0.9.30"
select LIBC_UCLIBC_0_9_30_or_later
-config LIBC_V_0_9_29
+config LIBC_UCLIBC_V_0_9_29
bool
prompt "0.9.29 (OBSOLETE)"
depends on OBSOLETE
-config LIBC_V_0_9_28_3
+config LIBC_UCLIBC_V_0_9_28_3
bool
prompt "0.9.28.3 (OBSOLETE)"
depends on OBSOLETE
@@ -54,14 +54,14 @@
# As of today (20100702) we can be pretty sure that every
# snapshots made since a month ago are post -0.9.30.
-config LIBC_V_snapshot
+config LIBC_UCLIBC_V_snapshot
bool
prompt "latest snapshot (EXPERIMENTAL)"
depends on EXPERIMENTAL
select LIBC_SUPPORT_NPTL
select LIBC_UCLIBC_0_9_30_or_later
-config LIBC_V_specific_date
+config LIBC_UCLIBC_V_specific_date
bool
prompt "<specific date> (EXPERIMENTAL)"
depends on EXPERIMENTAL
@@ -72,17 +72,17 @@
config LIBC_VERSION
string
- prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
+ prompt "Enter date (YYYYMMDD)" if LIBC_UCLIBC_V_specific_date
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "0.9.31" if LIBC_UCLIBC_V_0_9_31
default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
- default "0.9.30.1" if LIBC_V_0_9_30_1
- default "0.9.30" if LIBC_V_0_9_30
- default "0.9.29" if LIBC_V_0_9_29
- default "0.9.28.3" if LIBC_V_0_9_28_3
- default "snapshot" if LIBC_V_snapshot
+ default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
+ default "0.9.30" if LIBC_UCLIBC_V_0_9_30
+ default "0.9.29" if LIBC_UCLIBC_V_0_9_29
+ default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3
+ default "snapshot" if LIBC_UCLIBC_V_snapshot
config LIBC_UCLIBC_0_9_30_or_later
bool
diff -r dc1cce388f96 -r 3dbf478aa121 scripts/build/libc/uClibc.sh
--- a/scripts/build/libc/uClibc.sh Fri Dec 31 11:22:02 2010 -0800
+++ b/scripts/build/libc/uClibc.sh Fri Dec 31 11:22:10 2010 -0800
@@ -25,8 +25,8 @@
}
libc_uclibc_src_dir() {
- if [ -z "${CT_LIBC_V_snapshot}" \
- -a -z "${CT_LIBC_V_specific_date}" \
+ if [ -z "${CT_LIBC_UCLIBC_V_snapshot}" \
+ -a -z "${CT_LIBC_UCLIBC_V_specific_date}" \
]; then
echo "${CT_SRC_DIR}/uClibc-${CT_LIBC_VERSION}"
else
@@ -38,8 +38,8 @@
do_libc_extract() {
CT_Extract "uClibc-${CT_LIBC_VERSION}"
# Don't patch snapshots
- if [ -z "${CT_LIBC_V_snapshot}" \
- -a -z "${CT_LIBC_V_specific_date}" \
+ if [ -z "${CT_LIBC_UCLIBC_V_snapshot}" \
+ -a -z "${CT_LIBC_UCLIBC_V_specific_date}" \
]; then
CT_Patch "uClibc" "${CT_LIBC_VERSION}"
fi
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list