]> git.sur5r.net Git - u-boot/blobdiff - drivers/bios_emulator/Makefile
bios_emulator: Allow x86 to use the emulator
[u-boot] / drivers / bios_emulator / Makefile
index e56356ee867f7b9d3e4ffffebe69941bd3118054..2ba43ac731842f0f1367ba5d604e1ba58f32c798 100644 (file)
@@ -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__)