summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-06 15:59:45 +0200
committerWolfgang Denk <wd@denx.de>2007-08-06 15:59:45 +0200
commitec06b2731b0a8303f546901635a6e8da0ea97613 (patch)
treea90e17759211dd8e01c8b4b28d2e66224a6f8dc6 /drivers/bios_emulator/Makefile
parentf2c2a937d8c4a44f63ff88bf82023e03a29497a2 (diff)
parent9c7e4b06214db61bb21f1bcbe57c97519669baae (diff)
downloadu-boot-imx-ec06b2731b0a8303f546901635a6e8da0ea97613.zip
u-boot-imx-ec06b2731b0a8303f546901635a6e8da0ea97613.tar.gz
u-boot-imx-ec06b2731b0a8303f546901635a6e8da0ea97613.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-testing
Diffstat (limited to 'drivers/bios_emulator/Makefile')
-rw-r--r--drivers/bios_emulator/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile
new file mode 100644
index 0000000..ba7d436
--- /dev/null
+++ b/drivers/bios_emulator/Makefile
@@ -0,0 +1,30 @@
+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
+
+#########################################################################