From fab5418b256817e2695aa653d4840bfa5b5be53b Mon Sep 17 00:00:00 2001 From: Claudio Carvalho Date: Wed, 28 Sep 2016 05:01:07 -0300 Subject: 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 [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 --- libstb/Makefile.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libstb/Makefile.inc (limited to 'libstb/Makefile.inc') 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)/%) -- cgit v1.1