diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-07 07:18:20 (GMT) |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-07 07:18:20 (GMT) |
commit | 24e4d092a5976ab5f4797967f66ea3940f474872 (patch) | |
tree | 3a43dd2d0e85202c6bf4445cf7316eb453fef6cf /scripts/build/arch/blackfin.sh | |
parent | 55ba3f63787bfac8e81a7651490bd99654bcb5d5 (diff) |
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
Diffstat (limited to 'scripts/build/arch/blackfin.sh')
-rw-r--r-- | scripts/build/arch/blackfin.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/build/arch/blackfin.sh b/scripts/build/arch/blackfin.sh new file mode 100644 index 0000000..e707617 --- /dev/null +++ b/scripts/build/arch/blackfin.sh @@ -0,0 +1,14 @@ +# Compute Blackfin-specific values + +CT_DoArchTupleValues() { + # The architecture part of the tuple: + CT_TARGET_ARCH="bfin" + + # gcc ./configure flags + CT_ARCH_WITH_ARCH= + CT_ARCH_WITH_ABI= + CT_ARCH_WITH_CPU= + CT_ARCH_WITH_TUNE= + CT_ARCH_WITH_FPU= + CT_ARCH_WITH_FLOAT= +} |