Ignore:
Timestamp:
2010-03-18T23:34:00Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c80f2b
Parents:
3ad309d
Message:

move from a simple sanity check tool to a more feature-rich configuration autotool (generates Makefile.common)
check for the presence of cross-compiler toolchain
correct prefixing of GNU binutils on Solaris
remove redundant toolchain definitions from makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/Makefile.toolchain

    r3ad309d r177e4ea  
    2727#
    2828
    29 ## Toolchain configuration
    30 #
    31 
    32 ifndef CROSS_PREFIX
    33         CROSS_PREFIX = /usr/local
    34 endif
    35 
    3629BFD_NAME = elf32-littlearm
    3730BFD_ARCH = arm
    38 TARGET = arm-linux-gnu
    39 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin
    4031
    4132JOBFILE = ../../../../tools/jobfile.py
    42 
    43 ifeq ($(COMPILER),gcc_native)
    44         CC = gcc
    45         AS = as
    46         LD = ld
    47         OBJCOPY = objcopy
    48         OBJDUMP = objdump
    49 endif
    50 
    51 ifeq ($(COMPILER),gcc_cross)
    52         CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc
    53         AS = $(TOOLCHAIN_DIR)/$(TARGET)-as
    54         LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld
    55         OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
    56         OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
    57 endif
    5833
    5934CFLAGS = \
Note: See TracChangeset for help on using the changeset viewer.