Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4346 → Rev 4343

/branches/dynload/contrib/default/sparc64/Makefile.config
0,0 → 1,62
# Platform
PLATFORM = sparc64
 
# CPU type
MACHINE = us
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for SMP
CONFIG_SMP = y
 
# Lazy FPU context switching
CONFIG_FPU_LAZY = y
 
# Use TSB
CONFIG_TSB = y
 
# Support for Z8530 serial port
CONFIG_Z8530 = y
 
# Support for NS16550 serial port
CONFIG_NS16550 = y
 
# Support for Serengeti console
CONFIG_SGCN = y
 
# Interrupt-driven driver for NS16550?
CONFIG_NS16550_INTERRUPT_DRIVEN = y
 
# Virtually indexed D-cache support
CONFIG_VIRT_IDX_DCACHE = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Deadlock detection support for spinlocks
CONFIG_DEBUG_SPINLOCK = y
 
# Compile kernel tests
CONFIG_TEST = y
 
# Start AP processors by the loader
CONFIG_AP = y
 
# Preserve A.OUT header in isofs.b
CONFIG_AOUT_ISOFS_B = y
 
# External ramdisk
CONFIG_RD_EXTERNAL = n
/branches/dynload/contrib/default/sparc64/output
0,0 → 1,0
image.iso
/branches/dynload/contrib/default/ia64/output
0,0 → 1,0
image.boot
/branches/dynload/contrib/default/ia64/Makefile.config
0,0 → 1,47
# Platform
PLATFORM = ia64
 
# Machine type
MACHINE = i460GX
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for SMP
CONFIG_SMP = y
 
# Lazy FPU context switching
CONFIG_FPU_LAZY = y
 
# Use VHPT
CONFIG_VHPT = n
 
# Support for NS16550 serial port
CONFIG_NS16550 = y
 
# IOSapic on default address support
CONFIG_IOSAPIC = y
 
# Interrupt-driven driver for NS16550?
CONFIG_NS16550_INTERRUPT_DRIVEN = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Deadlock detection support for spinlocks
CONFIG_DEBUG_SPINLOCK = y
 
# Compile kernel tests
CONFIG_TEST = y
/branches/dynload/contrib/default/arm32/output
0,0 → 1,0
image.boot
/branches/dynload/contrib/default/arm32/Makefile.config
0,0 → 1,26
# Platform
PLATFORM = arm32
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Compile kernel tests
CONFIG_TEST = y
 
# Framebuffer support
CONFIG_FB = y
/branches/dynload/contrib/default/ppc32/output
0,0 → 1,0
image.boot
/branches/dynload/contrib/default/ppc32/Makefile.config
0,0 → 1,26
# Platform
PLATFORM = ppc32
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Compile kernel tests
CONFIG_TEST = y
 
# Use Block Address Translation by the loader
CONFIG_BAT = y
/branches/dynload/contrib/default/mips32/output
0,0 → 1,0
image.boot
/branches/dynload/contrib/default/mips32/Makefile.config
0,0 → 1,35
# Platform
PLATFORM = mips32
 
# Machine type
MACHINE = lgxemul
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Lazy FPU context switching
CONFIG_FPU_LAZY = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Save all interrupt registers
CONFIG_DEBUG_ALLREGS = y
 
# Compile kernel tests
CONFIG_TEST = y
 
# Framebuffer support
CONFIG_FB = y
/branches/dynload/contrib/default/ia32/output
0,0 → 1,0
image.iso
/branches/dynload/contrib/default/ia32/Makefile.config
0,0 → 1,59
# Platform
PLATFORM = ia32
 
# CPU type
MACHINE = pentium4
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for SMP
CONFIG_SMP = y
 
# Improved support for hyperthreading
CONFIG_HT = y
 
# Simics BIOS AP boot fix
CONFIG_SIMICS_FIX = y
 
# Lazy FPU context switching
CONFIG_FPU_LAZY = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Deadlock detection support for spinlocks
CONFIG_DEBUG_SPINLOCK = y
 
# Watchpoint on rewriting AS with zero
CONFIG_DEBUG_AS_WATCHPOINT = y
 
# Save all interrupt registers
CONFIG_DEBUG_ALLREGS = y
 
# Compile kernel tests
CONFIG_TEST = y
 
# Framebuffer support
CONFIG_FB = y
 
# Framebuffer width
CONFIG_VESA_WIDTH = 1024
 
# Framebuffer height
CONFIG_VESA_HEIGHT = 768
 
# Framebuffer depth
CONFIG_VESA_BPP = 24
/branches/dynload/contrib/default/amd64/output
0,0 → 1,0
image.iso
/branches/dynload/contrib/default/amd64/Makefile.config
0,0 → 1,59
# Platform
PLATFORM = amd64
 
# CPU type
MACHINE = opteron
 
# Ramdisk format
RDFMT = tmpfs
 
# Compiler
COMPILER = gcc_cross
 
# Debug build
CONFIG_DEBUG = y
 
# Support for SMP
CONFIG_SMP = y
 
# Improved support for hyperthreading
CONFIG_HT = y
 
# Simics BIOS AP boot fix
CONFIG_SIMICS_FIX = y
 
# Lazy FPU context switching
CONFIG_FPU_LAZY = y
 
# Support for userspace debuggers
CONFIG_UDEBUG = n
 
# Kernel console support
CONFIG_KCONSOLE = y
 
# Detailed kernel logging
CONFIG_LOG = n
 
# Deadlock detection support for spinlocks
CONFIG_DEBUG_SPINLOCK = y
 
# Watchpoint on rewriting AS with zero
CONFIG_DEBUG_AS_WATCHPOINT = y
 
# Save all interrupt registers
CONFIG_DEBUG_ALLREGS = y
 
# Compile kernel tests
CONFIG_TEST = y
 
# Framebuffer support
CONFIG_FB = y
 
# Framebuffer width
CONFIG_VESA_WIDTH = 1024
 
# Framebuffer height
CONFIG_VESA_HEIGHT = 768
 
# Framebuffer depth
CONFIG_VESA_BPP = 24
/branches/dynload/contrib/toolchain/toolchain.amd64.sh
19,8 → 19,8
CROSS_PREFIX="/usr/local"
fi
 
BINUTILS_VERSION="2.19.1"
GCC_VERSION="4.3.3"
BINUTILS_VERSION="2.19"
GCC_VERSION="4.3.2"
 
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
/branches/dynload/contrib/toolchain/toolchain.ia32.sh
19,8 → 19,8
CROSS_PREFIX="/usr/local"
fi
 
BINUTILS_VERSION="2.19.1"
GCC_VERSION="4.3.3"
BINUTILS_VERSION="2.19"
GCC_VERSION="4.3.2"
 
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
/branches/dynload/contrib/toolchain/toolchain.mipsel32.sh
19,8 → 19,8
CROSS_PREFIX="/usr/local"
fi
 
BINUTILS_VERSION="2.19.1"
GCC_VERSION="4.3.3"
BINUTILS_VERSION="2.19"
GCC_VERSION="4.3.2"
 
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
/branches/dynload/contrib/toolchain/toolchain.mipseb32.sh
19,8 → 19,8
CROSS_PREFIX="/usr/local"
fi
 
BINUTILS_VERSION="2.19.1"
GCC_VERSION="4.3.3"
BINUTILS_VERSION="2.19"
GCC_VERSION="4.3.2"
 
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"
32,7 → 32,7
 
PLATFORM="mips"
WORKDIR=`pwd`
TARGET="${PLATFORM}-linux-gnu"
TARGET="${PLATFORM}-sgi-irix5"
PREFIX="${CROSS_PREFIX}/${PLATFORM}"
BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
84,6 → 84,21
echo ">>> Compiling and installing binutils"
cd "${BINUTILSDIR}"
check_error $? "Change directory failed."
patch -p1 <<EOF
diff -Naur binutils-2.19.orig/bfd/elfxx-mips.c binutils-2.19/bfd/elfxx-mips.c
--- binutils-2.19.orig/bfd/elfxx-mips.c 2008-08-18 20:14:04.000000000 +0200
+++ binutils-2.19/bfd/elfxx-mips.c 2009-01-18 18:14:47.292011299 +0100
@@ -1409,7 +1409,7 @@
function, or 0 if we can't decide which function that is. */
static unsigned long
-mips16_stub_symndx (asection *sec, const Elf_Internal_Rela *relocs,
+mips16_stub_symndx (asection *sec __attribute__((unused)), const Elf_Internal_Rela *relocs,
const Elf_Internal_Rela *relend)
{
const Elf_Internal_Rela *rel;
EOF
check_error $? "Error patching binutils"
./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" "--disable-nls"
check_error $? "Error configuring binutils."
make all install
/branches/dynload/contrib/toolchain/toolchain.sparc64.sh
19,8 → 19,8
CROSS_PREFIX="/usr/local"
fi
 
BINUTILS_VERSION="2.19.1"
GCC_VERSION="4.3.3"
BINUTILS_VERSION="2.19"
GCC_VERSION="4.3.2"
 
BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
GCC_CORE="gcc-core-${GCC_VERSION}.tar.bz2"