Changeset 6ac14a70 in mainline for boot/arch/arm32/loader/Makefile


Ignore:
Timestamp:
2009-07-28T12:47:31Z (15 years ago)
Author:
Vineeth Pillai <vineethrp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e73815
Parents:
7038f55
Message:

ARM port for development board integratorcp(ARM926EJ core module).

File:
1 edited

Legend:

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

    r7038f55 r6ac14a70  
    4242TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/bin
    4343
     44ifeq ($(MACHINE), testarm)
     45        DMACHINE = MACHINE_GXEMUL_TESTARM
     46endif
     47
     48ifeq ($(MACHINE), integratorcp)
     49        DMACHINE = MACHINE_ICP
     50endif
     51
     52
    4453ifeq ($(COMPILER),gcc_native)
    4554        CC = gcc
     
    6574        asm.S \
    6675        mm.c \
    67         print/gxemul.c \
     76        print/print.c \
    6877        _components.c \
    6978        ../../../generic/printf.c \
     
    93102        $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    94103        $(USPACEDIR)/srv/fs/fat/fat \
    95         $(USPACEDIR)/srv/bd/file_bd/file_bd \
    96         $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd
     104        $(USPACEDIR)/srv/bd/file_bd/file_bd
     105ifeq ($(MACHINE), testarm)
     106        RD_SRVS += \
     107                $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd
     108endif
    97109
    98110RD_APPS = \
     
    149161
    150162%.o: %.c
    151         $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     163        $(CC) -D$(DMACHINE) $(DEFS) $(CFLAGS) -c $< -o $@
Note: See TracChangeset for help on using the changeset viewer.