diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-17 19:33:59 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-24 16:47:16 +1100 |
commit | 833b1e6bb2aef485226f8bc48ec1b45c422b2152 (patch) | |
tree | b5c1a063c60566f509c501e84af882bcbefdff05 /libstb/Makefile.inc | |
parent | f5d14f81b51f38c47aa565979c626706888f8434 (diff) | |
download | talos-skiboot-833b1e6bb2aef485226f8bc48ec1b45c422b2152.tar.gz talos-skiboot-833b1e6bb2aef485226f8bc48ec1b45c422b2152.zip |
stb: create-container and wrap skiboot in Secure/Trusted Boot container
We produce **UNSIGNED** skiboot.lid.stb and skiboot.lid.xz.stb as build
artifacts
These are suitable blobs for flashing onto Trusted Boot enabled op-build
builds *WITH* the secure boot jumpers *ON* (i.e. *NOT* in secure mode).
It's just enough of the Secure and Trusted Boot container format to
make Hostboot behave.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Tested-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/Makefile.inc')
-rw-r--r-- | libstb/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstb/Makefile.inc b/libstb/Makefile.inc index 337b9e40..68d9dc8d 100644 --- a/libstb/Makefile.inc +++ b/libstb/Makefile.inc @@ -12,3 +12,7 @@ include $(SRC)/$(LIBSTB_DIR)/drivers/Makefile.inc include $(SRC)/$(LIBSTB_DIR)/tss/Makefile.inc $(LIBSTB): $(LIBSTB_OBJS:%=$(LIBSTB_DIR)/%) $(DRIVERS) $(TSS) + +libstb/create-container: libstb/create-container.c + $(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) \ + -Wpadded -O0 -g -I$(SRC) -I$(SRC)/include -o $@ $<,$<) |