diff options
-rw-r--r-- | BUILD.bazel | 2 | ||||
-rw-r--r-- | Kbuild | 1 | ||||
-rw-r--r-- | Makefile | 2 |
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", ], ) @@ -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 @@ -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)" $(@) |