summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-02 15:36:20 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-02 15:36:20 +1000
commit1d880992fd8c8457a2d990ac6622cfd58fb1b261 (patch)
treec4c843b12e96b5612c315db5a23c5da1a900618c /Makefile
downloadblackbird-skiboot-1d880992fd8c8457a2d990ac6622cfd58fb1b261.tar.gz
blackbird-skiboot-1d880992fd8c8457a2d990ac6622cfd58fb1b261.zip
Initial commit of Open Source release
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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 00000000..b6102227
--- /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
+
OpenPOWER on IntegriCloud