mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 10:30:50 +09:00
ece92f8505
ATI video card BIOS. and can be used for x86 code emulation by some modifications. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
31 lines
625 B
Makefile
31 lines
625 B
Makefile
include $(TOPDIR)/config.mk
|
|
|
|
LIB := libatibiosemu.a
|
|
|
|
X86DIR = ./x86emu
|
|
|
|
OBJS = atibios.o biosemu.o besys.o bios.o \
|
|
$(X86DIR)/decode.o \
|
|
$(X86DIR)/ops2.o \
|
|
$(X86DIR)/ops.o \
|
|
$(X86DIR)/prim_ops.o \
|
|
$(X86DIR)/sys.o \
|
|
$(X86DIR)/debug.o
|
|
|
|
CFLAGS += -I. -I./include -I$(X86DIR) -I$(TOPDIR)/include \
|
|
-D__PPC__ -D__BIG_ENDIAN__
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(AR) crv $@ $(OBJS)
|
|
|
|
#########################################################################
|
|
|
|
.depend: Makefile $(OBJS:.o=.c)
|
|
$(CC) -M $(CFLAGS) $(OBJS:.o=.c) > $@
|
|
|
|
sinclude .depend
|
|
|
|
#########################################################################
|