scripts/build/libc/none.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon May 30 23:05:28 2011 +0200 (2011-05-30)
changeset 2496 cc9b84a83b34
parent 1112 c72aecd1a9ef
child 3162 e51eb0a614c7
permissions -rw-r--r--
glibc: properly handle internal addons

Some addons are bundled with glibc/eglibc, so we should not try to
download and extract them.

This is done as thus:
- at download time:
- if the add-on download fails, keep going;
- at extract time:
- if the addon is present in the source tree, ignore it;
- if the addon is missing in the source tree:
- if the archive is present, extract it;
- if the archive is missing, bail out.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@850
     1
# This file adds functions to build the C library for bare metal (IE. none)
yann@850
     2
# Copyright 2008 Yann E. MORIN
yann@850
     3
# Licensed under the GPL v2. See COPYING in the root of this package
yann@850
     4
yann@850
     5
do_libc_get() {
yann@850
     6
    :
yann@850
     7
}
yann@850
     8
yann@850
     9
do_libc_extract() {
yann@850
    10
    :
yann@850
    11
}
yann@850
    12
yann@850
    13
do_libc_check_config() {
yann@850
    14
    :
yann@850
    15
}
yann@850
    16
yann@850
    17
do_libc_start_files() {
yann@850
    18
    :
yann@850
    19
}
yann@850
    20
yann@850
    21
do_libc() {
yann@850
    22
    :
yann@850
    23
}
yann@850
    24
yann@850
    25
do_libc_finish() {
yann@850
    26
    :
yann@850
    27
}