summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)" $(@)