mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
There is an implicit assumption that x86 machines want to use raw I/O in the BIOS emulator, but this should be selectable. Add an CONFIG_X86EMU_RAW_IO option to control it instead. Also fix a few bugs which cause warnings on x86 and adjust the Makefile to remove the assumption that only PowerPC uses the emulator. Signed-off-by: Simon Glass <sjg@chromium.org>
13 lines
299 B
Makefile
13 lines
299 B
Makefile
X86DIR = x86emu
|
|
|
|
obj-y = 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
|
|
|
|
ccflags-y := -I$(srctree)/$(src) -I$(srctree)/$(src)/include \
|
|
$(if $(CONFIG_PPC),-D__PPC__ -D__BIG_ENDIAN__)
|