aboutsummaryrefslogtreecommitdiff
path: root/arch/um/Makefile-ppc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/Makefile-ppc')
-rw-r--r--arch/um/Makefile-ppc9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/um/Makefile-ppc b/arch/um/Makefile-ppc
new file mode 100644
index 000000000000..66fd2003e165
--- /dev/null
+++ b/arch/um/Makefile-ppc
@@ -0,0 +1,9 @@
+ifeq ($(CONFIG_HOST_2G_2G), y)
+START_ADDR = 0x80000000
+else
+START_ADDR = 0xc0000000
+endif
+ARCH_CFLAGS = -U__powerpc__ -D__UM_PPC__
+
+# The arch is ppc, but the elf32 name is powerpc
+ELF_SUBARCH = powerpc