scripts/build/arch/blackfin.sh
author Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed Apr 07 09:18:20 2010 +0200 (2010-04-07)
changeset 1910 207ad430c254
child 3169 9d0b37f08a10
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
thomas@1910
     1
# Compute Blackfin-specific values
thomas@1910
     2
thomas@1910
     3
CT_DoArchTupleValues() {
thomas@1910
     4
    # The architecture part of the tuple:
thomas@1910
     5
    CT_TARGET_ARCH="bfin"
thomas@1910
     6
thomas@1910
     7
    # gcc ./configure flags
thomas@1910
     8
    CT_ARCH_WITH_ARCH=
thomas@1910
     9
    CT_ARCH_WITH_ABI=
thomas@1910
    10
    CT_ARCH_WITH_CPU=
thomas@1910
    11
    CT_ARCH_WITH_TUNE=
thomas@1910
    12
    CT_ARCH_WITH_FPU=
thomas@1910
    13
    CT_ARCH_WITH_FLOAT=
thomas@1910
    14
}