From a6c7ad2f65afaa717ba19cbf9d8d138b5f10ccf9 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 3 Dec 2002 21:28:10 +0000 Subject: * Fix startup problems with VFD display on TRAB * Patch by Pierre Aubert, 20 Nov 2002 Add driver for Epson SED13806 graphic controller. Add support for BMP logos in cfb_console driver. --- board/MAI/bios_emulator/scitech/src/x86emu/makefile.cross | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'board/MAI/bios_emulator') diff --git a/board/MAI/bios_emulator/scitech/src/x86emu/makefile.cross b/board/MAI/bios_emulator/scitech/src/x86emu/makefile.cross index 6edfd76e19..56f3cd766d 100644 --- a/board/MAI/bios_emulator/scitech/src/x86emu/makefile.cross +++ b/board/MAI/bios_emulator/scitech/src/x86emu/makefile.cross @@ -30,6 +30,9 @@ # ############################################################################# +CC = $(CROSS_COMPILE)gcc +AR = $(CROSS_COMPILE)ar + TARGETLIB = libx86emu.a TARGETDEBUGLIB =libx86emud.a @@ -54,26 +57,26 @@ DEBUGOBJS=debug.d \ all: $(TARGETLIB) $(TARGETDEBUGLIB) $(TARGETLIB): $(OBJS) - ppc-elf32-ar rv $(TARGETLIB) $(OBJS) + $(AR) rv $(TARGETLIB) $(OBJS) $(TARGETDEBUGLIB): $(DEBUGOBJS) - ppc-elf32-ar rv $(TARGETDEBUGLIB) $(DEBUGOBJS) + $(AR) rv $(TARGETDEBUGLIB) $(DEBUGOBJS) INCS = -I. -Ix86emu -I../../include CFLAGS = -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG -Dprintk=printf -fsigned-char -fomit-frame-pointer -mrelocatable -ffixed-r14 -meabi -mrelocatable -ffixed-r14 -meabi CDEBUGFLAGS = -DDEBUG .c.o: - ppc-elf32-gcc -g -O2 -Wall -c $(CFLAGS) $(INCS) $*.c + $(CC) -g -O2 -Wall -c $(CFLAGS) $(INCS) $*.c .c.d: - ppc-elf32-gcc -g -O2 -Wall -c -o$*.d $(CFLAGS) $(CDEBUGFLAGS) $(INCS) $*.c + $(CC) -g -O2 -Wall -c -o$*.d $(CFLAGS) $(CDEBUGFLAGS) $(INCS) $*.c .cpp.o: - ppc-elf32-gcc -c $(CFLAGS) $(INCS) $*.cpp + $(CC) -c $(CFLAGS) $(INCS) $*.cpp clean: rm -f *.a *.o *.d validate: validate.o libx86emu.a - ppc-elf32-gcc -o validate validate.o -lx86emu -L. + $(CC) -o validate validate.o -lx86emu -L. -- cgit v1.2.1