scripts/build/kernel/bare-metal.sh
author Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed Apr 07 09:18:20 2010 +0200 (2010-04-07)
changeset 1910 207ad430c254
parent 965 45ddf096def1
permissions -rw-r--r--
Add basic support for the Blackfin architecture

For uClibc, the name of the Blackfin architecture is 'bfin'. Actually,
the naming of the architecture is quite messy: for toolchain tuples
and uClibc, it's bfin, but for the kernel, it's blackfin. We've
arbitraly choosen to name it "blackfin" in Crosstool-NG.

Add Blackfin-related uClibc patch to fix a build failure related to
fork() being used in unistd/daemon.c.

Yann E. MORIN:
Apply the patch to the kernel/linux build script to use 'linux'
in the noMMU tuples. See:
http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
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
}