diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-09-28 21:34:11 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-09-28 21:34:11 (GMT) |
commit | b000bc94cd37d3f41e9e0144c02b4cfe4066a351 (patch) | |
tree | 08fdb968859aab2101f0d8a0feb3cee54353c6ac /scripts/build | |
parent | 5e2ecc71c67f53bd4ac3e781ac85c2a6893bffd8 (diff) |
In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
They are nonetheless in sync and need not be regenerated.
Fix that by touching the files to have 'make' believe they are up-to-date (which they are).
/trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++
/trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/libc/eglibc.sh | 7 | ||||
-rw-r--r-- | scripts/build/libc/glibc.sh | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index 29e2719..a803b5e 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -110,6 +110,11 @@ do_libc_extract() { CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}" done + # The configure files may be older than the configure.in files + # if using a snapshot (or even some tarballs). Fake them being + # up to date. + find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL + return 0 } @@ -118,7 +123,7 @@ do_libc_check_config() { : } -# This function installs the glibc headers needed to build the core compiler +# This function installs the eglibc headers needed to build the core compiler do_libc_headers() { # Instead of doing two time the same actions, headers will # be installed with start files diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 2f78007..844f949 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -46,6 +46,11 @@ do_libc_extract() { CT_ExtractAndPatch "${CT_LIBC}-${addon}-${CT_LIBC_VERSION}" done + # The configure files may be older than the configure.in files + # if using a snapshot (or even some tarballs). Fake them being + # up to date. + find "${CT_SRC_DIR}/${CT_LIBC_FILE}" -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL + return 0 } |