aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b610222
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,39 @@
+# If you want to build in another directory copy this file there and
+# fill in the following values
+
+#
+# Prefix of cross toolchain, if anything
+# Example: CROSS= powerpc64-unknown-linux-gnu-
+#
+CROSS ?= powerpc64-linux-
+
+#
+# Set to enable SLW bits
+#
+PORE ?= 1
+
+#
+# Optional location of embedded linux kernel file
+# This can be a raw vmlinux, stripped vmlinux or
+# zImage.epapr
+#
+KERNEL ?=
+
+#
+# Where is the source directory, must be a full path (no ~)
+# Example: SRC= /home/me/skiboot
+#
+SRC=$(CURDIR)
+
+#
+# Where to get information about this machine (subdir name)
+#
+DEVSRC=hdata
+
+#
+# default config file, see include config_*.h for more specifics
+#
+CONFIG := config.h
+
+include $(SRC)/Makefile.main
+