diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-07 09:18:20 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-07 09:18:20 +0200 |
commit | 24e4d092a5976ab5f4797967f66ea3940f474872 (patch) | |
tree | 3a43dd2d0e85202c6bf4445cf7316eb453fef6cf /scripts/build/kernel | |
parent | 55ba3f63787bfac8e81a7651490bd99654bcb5d5 (diff) | |
download | crosstool-ng-24e4d092a5976ab5f4797967f66ea3940f474872.tar.gz crosstool-ng-24e4d092a5976ab5f4797967f66ea3940f474872.tar.bz2 crosstool-ng-24e4d092a5976ab5f4797967f66ea3940f474872.zip |
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/kernel')
-rw-r--r-- | scripts/build/kernel/linux.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 8a568ed6..1d08f303 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -6,7 +6,12 @@ CT_DoKernelTupleValues() { if [ "${CT_ARCH_USE_MMU}" = "y" ]; then CT_TARGET_KERNEL="linux" else - CT_TARGET_KERNEL="uclinux" + # Sometime, noMMU linux targets have a -uclinux tuple, while + # sometime it's -linux. We currently have only one noMMU linux + # target, and it uses -linux, so let's just use that. Time + # to fix that later... + # CT_TARGET_KERNEL="uclinux" + CT_TARGET_KERNEL="linux" fi } |