scripts/build/kernel/bare-metal.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Mar 27 23:40:07 2009 +0000 (2009-03-27)
changeset 1272 ddac62e7c428
parent 965 45ddf096def1
permissions -rw-r--r--
Only create the state dir if asked for a restartable build:
- introduce the config dir, where components can store their config files
- move the munged uClibc config file to the config dir
- now, the state dir really is an indication that a build can be restarted

Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency
of the state dir usage, and suggesting this change.

/trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++--
/trunk/scripts/functions | 15 12 3 0 ++++++++++++---
3 files changed, 22 insertions(+), 8 deletions(-)
yann@861
     1
# This file declares functions for bare metal kernel (IE. none)
yann@861
     2
# Copyright 2008 Yann E. MORIN
yann@861
     3
# Licensed under the GPL v2. See COPYING in the root of this package
yann@861
     4
yann@965
     5
CT_DoKernelTupleValues() {
yann@965
     6
    # For bare-metal, there is no kernel part in the tuple
yann@965
     7
    CT_TARGET_KERNEL=
yann@965
     8
}
yann@965
     9
yann@861
    10
do_kernel_get() {
yann@861
    11
    :
yann@861
    12
}
yann@861
    13
yann@861
    14
do_kernel_extract() {
yann@861
    15
    :
yann@861
    16
}
yann@861
    17
yann@861
    18
do_kernel_headers() {
yann@861
    19
    :
yann@861
    20
}