X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Ftpm%2FMakefile;h=94c337b8ed32a2911a9e624e3a147f2a1d490380;hb=3d5ced9e22d32112a20f9dc0f5fb1f22ef088079;hp=4b8cbecaf9ef047518dbcb7908ab7c21d3b0f165;hpb=c0bb110b695130866838518e680bdd5473e47928;p=platform%2Fkernel%2Fu-boot.git diff --git a/drivers/tpm/Makefile b/drivers/tpm/Makefile index 4b8cbec..94c337b 100644 --- a/drivers/tpm/Makefile +++ b/drivers/tpm/Makefile @@ -1,12 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0+ # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. -# -# SPDX-License-Identifier: GPL-2.0+ -# -$(shell mkdir -p $(obj)slb9635_i2c) +obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-uclass.o -# TODO: Merge tpm_tis_lpc.c with tpm.c obj-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o -obj-$(CONFIG_TPM_TIS_I2C) += tpm.o -obj-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o +obj-$(CONFIG_TPM_TIS_INFINEON) += tpm_tis_infineon.o obj-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o +obj-$(CONFIG_TPM_TIS_SANDBOX) += tpm_tis_sandbox.o +obj-$(CONFIG_TPM_ST33ZP24_I2C) += tpm_tis_st33zp24_i2c.o +obj-$(CONFIG_TPM_ST33ZP24_SPI) += tpm_tis_st33zp24_spi.o + +obj-$(CONFIG_TPM2_TIS_SANDBOX) += tpm2_tis_sandbox.o +obj-$(CONFIG_TPM2_TIS_SPI) += tpm2_tis_spi.o