]> git.sur5r.net Git - u-boot/blobdiff - drivers/bios_emulator/Makefile
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / drivers / bios_emulator / Makefile
index e56356ee867f7b9d3e4ffffebe69941bd3118054..d9cf6ad5d1b67a62c9af7d6b2dd44b2b1bf7a252 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0+
+
 X86DIR  = x86emu
 
 obj-y = atibios.o biosemu.o besys.o bios.o \
@@ -9,4 +11,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__)