From e712d4c25dbea9d464a3a3c0ece423e77bdd7f72 Mon Sep 17 00:00:00 2001 From: Ji Soo Shin Date: Wed, 3 May 2023 18:50:29 +0200 Subject: hdcp: trusty modules are moved to modules Bug: 271907961 Change-Id: I595c325a041aced9c5e41a168153e47b92d0c87e Signed-off-by: Ji Soo Shin --- BUILD.bazel | 2 ++ Kbuild | 1 + Makefile | 2 ++ 3 files changed, 5 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 9bbecd2..203093b 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -20,6 +20,7 @@ kernel_module( "Kbuild", ]) + [ "//private/google-modules/soc/gs:gs_soc_headers", + "//private/google-modules/trusty:headers", ], outs = [ "exynos-hdcp2.ko", @@ -32,5 +33,6 @@ kernel_module( ], deps = [ "//private/google-modules/soc/gs:gs_soc_module", + "//private/google-modules/trusty", ], ) diff --git a/Kbuild b/Kbuild index dece7d5..b5cde1f 100644 --- a/Kbuild +++ b/Kbuild @@ -4,6 +4,7 @@ # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. ccflags-y += -I$(srctree)/include/ +ccflags-y += -I$(KERNEL_SRC)/../private/google-modules/trusty/include exynos-hdcp2-y += auth-control.o exynos-hdcp2-y += auth13.o diff --git a/Makefile b/Makefile index 5ceb079..e6055a7 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ include $(KERNEL_SRC)/../private/google-modules/soc/gs/Makefile.include KBUILD_OPTIONS += CONFIG_EXYNOS_HDCP2=m +EXTRA_SYMBOLS += $(OUT_DIR)/../private/google-modules/trusty/Module.symvers + modules modules_install clean: $(MAKE) -C $(KERNEL_SRC) M=$(M) W=1 \ $(KBUILD_OPTIONS) EXTRA_CFLAGS="$(EXTRA_CFLAGS)" KBUILD_EXTRA_SYMBOLS="$(EXTRA_SYMBOLS)" $(@) -- cgit v1.2.3