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
     1 # Compute Blackfin-specific values
     2 
     3 CT_DoArchTupleValues() {
     4     # The architecture part of the tuple:
     5     CT_TARGET_ARCH="bfin"
     6 
     7     # gcc ./configure flags
     8     CT_ARCH_WITH_ARCH=
     9     CT_ARCH_WITH_ABI=
    10     CT_ARCH_WITH_CPU=
    11     CT_ARCH_WITH_TUNE=
    12     CT_ARCH_WITH_FPU=
    13     CT_ARCH_WITH_FLOAT=
    14 }