aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/bios_emulator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/bios_emulator/Makefile')
-rw-r--r--roms/u-boot/drivers/bios_emulator/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/bios_emulator/Makefile b/roms/u-boot/drivers/bios_emulator/Makefile
new file mode 100644
index 000000000..d9cf6ad5d
--- /dev/null
+++ b/roms/u-boot/drivers/bios_emulator/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+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__)