Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / arch / m68k / cpu / mcf547x_8x / config.mk
diff --git a/qemu/roms/u-boot/arch/m68k/cpu/mcf547x_8x/config.mk b/qemu/roms/u-boot/arch/m68k/cpu/mcf547x_8x/config.mk
new file mode 100644 (file)
index 0000000..825f6cc
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# (C) Copyright 2003 Josef Baumgartner <josef.baumgartner@telex.de>
+#
+# (C) Copyright 2000-2004
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC
+
+ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
+ifneq (,$(findstring GOT,$(shell $(LD) --help)))
+PLATFORM_LDFLAGS += --got=single
+endif
+endif