blob: 6ea56b794b34101c615e4ad763302b1723f9208e [file] [log] [blame]
Jeremy Kerr4cdc2002019-02-07 16:49:12 +08001LIBMCTP_DIR ?= libmctp/
Andrew Jefferyeba19a32021-03-09 23:09:40 +10302LIBMCTP_OBJS = crc32.o core.o alloc.o log.o
Jeremy Kerr672c8852019-03-01 12:18:07 +08003LIBMCTP_BINDINGS ?= serial astlpc
Jeremy Kerr2e89dbb2019-03-06 09:36:57 +08004
5LIBMCTP_OBJS += $(LIBMCTP_BINDINGS:%=%.o)
Jeremy Kerr4cdc2002019-02-07 16:49:12 +08006
7LIBMCTP = $(LIBMCTP_DIR)libmctp.a
8
9$(LIBMCTP): $(LIBMCTP_OBJS:%=$(LIBMCTP_DIR)%)