scripts/build/kernel/bare-metal.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 16 17:39:40 2008 +0000 (2008-09-16)
changeset 861 5506fbbad59b
child 965 45ddf096def1
permissions -rw-r--r--
Generate the kernel config choice, rather than having it hard-coded:
- change the menu label from 'Target OS' to 'Operating System',
- bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
- update the kconfig.mk to generate the kernel choice entries,
- update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.

/trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++----------
/trunk/config/kernel/linux.in | 4 4 0 0 +
/trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++
/trunk/config/kernel.in | 33 5 28 0 +--------
/trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0
5 files changed, 107 insertions(+), 66 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@861
     5
do_print_filename() {
yann@861
     6
    :
yann@861
     7
}
yann@861
     8
yann@861
     9
do_kernel_get() {
yann@861
    10
    :
yann@861
    11
}
yann@861
    12
yann@861
    13
do_kernel_extract() {
yann@861
    14
    :
yann@861
    15
}
yann@861
    16
yann@861
    17
do_kernel_headers() {
yann@861
    18
    :
yann@861
    19
}