/trunk/boot/arch/arm32/loader/print/print.c |
---|
40,10 → 40,11 |
/** Address where characters to be printed are expected. */ |
#ifdef MACHINE_GXEMUL_TESTARM |
#ifdef MACHINE_testarm |
#define PUTC_ADDRESS 0x10000000 |
#endif |
#ifdef MACHINE_ICP |
#ifdef MACHINE_integratorcp |
#define PUTC_ADDRESS 0x16000000 |
#endif |
/trunk/boot/arch/arm32/loader/Makefile |
---|
41,15 → 41,6 |
TARGET = arm-linux-gnu |
TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/bin |
ifeq ($(MACHINE), testarm) |
DMACHINE = MACHINE_GXEMUL_TESTARM |
endif |
ifeq ($(MACHINE), integratorcp) |
DMACHINE = MACHINE_ICP |
endif |
ifeq ($(COMPILER),gcc_native) |
CC = gcc |
AS = as |
160,4 → 151,4 |
$(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
%.o: %.c |
$(CC) -D$(DMACHINE) $(DEFS) $(CFLAGS) -c $< -o $@ |
$(CC) $(DEFS) $(CFLAGS) -c $< -o $@ |