summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/Makefile
blob: dd42e0f7665cc6af6c6f46173fc60f58d89f0a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
X86DIR  = x86emu

$(shell mkdir -p $(obj)$(X86DIR))

obj-$(CONFIG_BIOSEMU)	= 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

EXTRA_CFLAGS += -I. -I./include -I$(TOPDIR)/include \
	-D__PPC__  -D__BIG_ENDIAN__

CFLAGS += $(EXTRA_CFLAGS)
HOSTCFLAGS += $(EXTRA_CFLAGS)
CPPFLAGS += $(EXTRA_CFLAGS)