summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-01-05 19:35:47 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-06 18:40:48 +1100
commit4ebde139333659b6de4516830a2785b8a89c08a4 (patch)
treea04a547f3971f98a2bff5f777884daf19e5bf863 /Makefile
parent420d62d8f545204ff615b3062b01babb8b98e11c (diff)
downloadblackbird-skiboot-4ebde139333659b6de4516830a2785b8a89c08a4.tar.gz
blackbird-skiboot-4ebde139333659b6de4516830a2785b8a89c08a4.zip
Initial support for the ELFv2 ABI
Provide an experimental option to compile using ELFv2 ABI even on big endian builds. ELFv2 + BE is not officially supported by the toolchain, but it works quite well. It may be useful as a small step toward a little-endian build. This saves about 200kB of text/data. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f13bf50f..d4a097f7 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,14 @@ KERNEL ?=
STACK_CHECK ?= $(DEBUG)
#
+# Experimental (unsupported) build options
+#
+# Little-endian does not yet build. Include it here to set ELF ABI.
+LITTLE_ENDIAN ?= 0
+# ELF v2 ABI is more efficient and compact
+ELF_ABI_v2 ?= $(LITTLE_ENDIAN)
+
+#
# Where is the source directory, must be a full path (no ~)
# Example: SRC= /home/me/skiboot
#
OpenPOWER on IntegriCloud