15e124724SVadim Bendebury# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 25e124724SVadim Bendebury# 3*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 45e124724SVadim Bendebury# 55e124724SVadim Bendebury 65e124724SVadim Bendeburyinclude $(TOPDIR)/config.mk 75e124724SVadim Bendebury 85e124724SVadim BendeburyLIB := $(obj)libtpm.o 95e124724SVadim Bendebury 10f6267998SRong Chang$(shell mkdir -p $(obj)slb9635_i2c) 11f6267998SRong Chang 121b393db5STom Wai-Hong Tam# TODO: Merge tpm_tis_lpc.c with tpm.c 13c01939c7SDirk EibachCOBJS-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o 141b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_I2C) += tpm.o 151b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o 161b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o 175e124724SVadim Bendebury 185e124724SVadim BendeburyCOBJS := $(COBJS-y) 195e124724SVadim BendeburySRCS := $(COBJS:.o=.c) 205e124724SVadim BendeburyOBJS := $(addprefix $(obj),$(COBJS)) 215e124724SVadim Bendebury 225e124724SVadim Bendeburyall: $(LIB) 235e124724SVadim Bendebury 245e124724SVadim Bendebury$(LIB): $(obj).depend $(OBJS) 255e124724SVadim Bendebury $(call cmd_link_o_target, $(OBJS)) 265e124724SVadim Bendebury 275e124724SVadim Bendebury######################################################################### 285e124724SVadim Bendebury 295e124724SVadim Bendeburyinclude $(SRCTREE)/rules.mk 305e124724SVadim Bendebury 315e124724SVadim Bendeburysinclude $(obj).depend 325e124724SVadim Bendebury 335e124724SVadim Bendebury######################################################################### 34