aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2019-06-18 17:29:25 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-06-24 15:59:07 +1000
commit46a5902e7b6304654933c4e413ec42ee98250392 (patch)
treef773bc19af1b20f00d66d6c9ab9ef33e9a8112e8 /Makefile
parent633645665cb3941be3cbdae73d5c8955d37f1cde (diff)
downloadskiboot-46a5902e7b6304654933c4e413ec42ee98250392.zip
skiboot-46a5902e7b6304654933c4e413ec42ee98250392.tar.gz
skiboot-46a5902e7b6304654933c4e413ec42ee98250392.tar.bz2
Experimental support for building without FSP code
Now, with CONFIG_FSP=0/1 we have: 1.6M/1.4M skiboot.lid 323K/375K skiboot.lid.xz Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 68d4dc7..fbd83bc 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,8 @@ LITTLE_ENDIAN ?= 0
ELF_ABI_v2 ?= $(LITTLE_ENDIAN)
# Discard unreferenced code and data at link-time
DEAD_CODE_ELIMINATION ?= 0
+# Try to build without FSP code
+CONFIG_FSP?=1
#
# Where is the source directory, must be a full path (no ~)
@@ -62,4 +64,3 @@ DEVSRC=hdata
CONFIG := config.h
include $(SRC)/Makefile.main
-