summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Soo Shin <jisshin@google.com>2023-05-03 18:50:29 +0200
committerJi Soo Shin <jisshin@google.com>2023-05-05 15:18:30 +0200
commite712d4c25dbea9d464a3a3c0ece423e77bdd7f72 (patch)
treef9a7d6aad489122c5c78d423b8fa4d0de64eef3d
parent7b2f1bc6dd057013b9fec13987cca35fdd487b84 (diff)
downloadsamsung-e712d4c25dbea9d464a3a3c0ece423e77bdd7f72.tar.gz
hdcp: trusty modules are moved to modules
Bug: 271907961 Change-Id: I595c325a041aced9c5e41a168153e47b92d0c87e Signed-off-by: Ji Soo Shin <jisshin@google.com>
-rw-r--r--BUILD.bazel2
-rw-r--r--Kbuild1
-rw-r--r--Makefile2
3 files changed, 5 insertions, 0 deletions
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)" $(@)