Changeset ac6ee45 in mainline


Ignore:
Timestamp:
2008-08-27T16:16:00Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddb0df5
Parents:
1b4b7b6
Message:

configurable cross-compiler prefix (using CROSS_PREFIX)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/Makefile

    r1b4b7b6 rac6ee45  
    3333#
    3434
     35ifndef CROSS_PREFIX
     36        CROSS_PREFIX = /usr/local
     37endif
     38
    3539BFD_NAME = elf64-sparc
    3640BFD_ARCH = sparc
    3741TARGET = sparc64-linux-gnu
    38 TOOLCHAIN_DIR = /usr/local/sparc64/bin
     42TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
    3943
    4044ifeq ($(COMPILER),gcc_native)
  • contrib/toolchain/toolchain.sparc64.sh

    r1b4b7b6 rac6ee45  
    1616}
    1717
     18if [ -z "${CROSS_PREFIX}" ] ; then
     19    CROSS_PREFIX="/usr/local"
     20fi
     21
    1822BINUTILS_VERSION="2.18"
    1923GCC_VERSION="4.3.1"
     
    3034WORKDIR=`pwd`
    3135TARGET="${PLATFORM}-linux-gnu"
    32 PREFIX="/usr/local/${PLATFORM}"
     36PREFIX="${CROSS_PREFIX}/${PLATFORM}"
    3337BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
    3438GCCDIR="${WORKDIR}/gcc-${GCC_VERSION}"
  • kernel/arch/sparc64/Makefile.inc

    r1b4b7b6 rac6ee45  
    3030#
    3131
     32ifndef CROSS_PREFIX
     33        CROSS_PREFIX = /usr/local
     34endif
     35
    3236BFD_NAME = elf64-sparc
    3337BFD_ARCH = sparc
    3438BFD = binary
    3539TARGET = sparc64-linux-gnu
    36 TOOLCHAIN_DIR = /usr/local/sparc64
     40TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64
    3741
    3842GCC_CFLAGS += -m64 -mcpu=ultrasparc
  • uspace/lib/libc/arch/sparc64/Makefile.inc

    r1b4b7b6 rac6ee45  
    3030#
    3131
     32ifndef CROSS_PREFIX
     33        CROSS_PREFIX = /usr/local
     34endif
     35
    3236TARGET = sparc64-linux-gnu
    33 TOOLCHAIN_DIR = /usr/local/sparc64/bin
     37TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
    3438
    3539ARCH_SOURCES += arch/$(ARCH)/src/fibril.S \
Note: See TracChangeset for help on using the changeset viewer.