diff options
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/arch/blackfin.sh | 14 | ||||
-rw-r--r-- | scripts/build/kernel/linux.sh | 7 | ||||
-rw-r--r-- | scripts/build/libc/uClibc.sh | 11 |
3 files changed, 26 insertions, 6 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= +} diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 8a568ed..1d08f30 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 } diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index f4aa43d..03411a2 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -190,11 +190,12 @@ mungeuClibcConfig() { # Hack our target in the config file. case "${CT_ARCH}:${CT_ARCH_BITNESS}" in - x86:32) arch=i386;; - x86:64) arch=x86_64;; - sh:32) arch="sh";; - sh:64) arch="sh64";; - *) arch="${CT_ARCH}";; + x86:32) arch=i386;; + x86:64) arch=x86_64;; + sh:32) arch="sh";; + sh:64) arch="sh64";; + blackfin:32) arch="bfin";; + *) arch="${CT_ARCH}";; esac # Also remove stripping: its the responsibility of the # firmware builder to strip or not. |