aboutsummaryrefslogtreecommitdiff
path: root/libstb/Makefile.inc
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:01:07 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-10 15:26:43 +1100
commitfab5418b256817e2695aa653d4840bfa5b5be53b (patch)
treeb01af002f2bbd64dc78df626511ca1151f3e8729 /libstb/Makefile.inc
parent154e85cc937d5cf6b3c50328805e2de7ea56381c (diff)
downloadskiboot-fab5418b256817e2695aa653d4840bfa5b5be53b.zip
skiboot-fab5418b256817e2695aa653d4840bfa5b5be53b.tar.gz
skiboot-fab5418b256817e2695aa653d4840bfa5b5be53b.tar.bz2
libstb: add required container header structures
The full container header layout will be released soon either as a separate github project or as part of hostboot. This adds the secure boot header structures required by skiboot, and also implements some helper routines related to containers. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: Add unit test, print utility, use zero length arrays to ensure sizeof() works correctly, add parsing function] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/Makefile.inc')
-rw-r--r--libstb/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/libstb/Makefile.inc b/libstb/Makefile.inc
new file mode 100644
index 0000000..15cdfbe
--- /dev/null
+++ b/libstb/Makefile.inc
@@ -0,0 +1,11 @@
+# -*-Makefile-*-
+
+LIBSTB_DIR = libstb
+
+SUBDIRS += $(LIBSTB_DIR)
+
+LIBSTB_SRCS = container.c
+LIBSTB_OBJS = $(LIBSTB_SRCS:%.c=%.o)
+LIBSTB = $(LIBSTB_DIR)/built-in.o
+
+$(LIBSTB): $(LIBSTB_OBJS:%=$(LIBSTB_DIR)/%)