summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bios_emulator/Makefile')
-rw-r--r--drivers/bios_emulator/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bios_emulator/Makefile b/drivers/bios_emulator/Makefile
index e56356e..2ba43ac 100644
--- a/drivers/bios_emulator/Makefile
+++ b/drivers/bios_emulator/Makefile
@@ -9,4 +9,4 @@ obj-y = atibios.o biosemu.o besys.o bios.o \
$(X86DIR)/debug.o
ccflags-y := -I$(srctree)/$(src) -I$(srctree)/$(src)/include \
- -D__PPC__ -D__BIG_ENDIAN__
+ $(if $(CONFIG_PPC),-D__PPC__ -D__BIG_ENDIAN__)