1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
3 # SPDX-License-Identifier: GPL-2.0+
6 include $(TOPDIR)/config.mk
10 $(shell mkdir -p $(obj)slb9635_i2c)
12 # TODO: Merge tpm_tis_lpc.c with tpm.c
13 COBJS-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o
14 COBJS-$(CONFIG_TPM_TIS_I2C) += tpm.o
15 COBJS-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o
16 COBJS-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o
19 SRCS := $(COBJS:.o=.c)
20 OBJS := $(addprefix $(obj),$(COBJS))
24 $(LIB): $(obj).depend $(OBJS)
25 $(call cmd_link_o_target, $(OBJS))
27 #########################################################################
29 include $(SRCTREE)/rules.mk
31 sinclude $(obj).depend
33 #########################################################################