summaryrefslogtreecommitdiff
authorShuide Chen <shuide.chen@amlogic.com>2018-03-27 14:32:01 (GMT)
committer Shuide Chen <shuide.chen@amlogic.com>2018-03-28 01:58:08 (GMT)
commit5331de8948f32a465e4d0bc11984b0a9613943a9 (patch)
tree88b2a249d1e80b576bdb46019c07306dd77451a2
parentb5e7c2edc9a406eafcbef9d0013efc697452cfc5 (diff)
downloadeinstein-5331de8948f32a465e4d0bc11984b0a9613943a9.zip
einstein-5331de8948f32a465e4d0bc11984b0a9613943a9.tar.gz
einstein-5331de8948f32a465e4d0bc11984b0a9613943a9.tar.bz2
einstein: add prebuilt optee module [1/1]
PD# NONE optee driver now in /vendor/lib/ Change-Id: I64c7a659aedf3c4d0fe0d1590c0156e02aae2567 Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
Diffstat
-rw-r--r--Kernel.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel.mk b/Kernel.mk
index 27aeb4e..b40b649 100644
--- a/Kernel.mk
+++ b/Kernel.mk
@@ -27,17 +27,17 @@ $(TARGET_PREBUILT_KERNEL): $(INSTALLED_BOARDDTB_TARGET)
cp device/amlogic/einstein-kernel/lib/mali.ko $(PRODUCT_OUT)/vendor/lib/
cp device/amlogic/einstein-kernel/lib/modules/* $(KERNEL_KO_OUT)/
cp device/amlogic/einstein-kernel/tdk/* $(PRODUCT_OUT)/obj/lib/
- cp device/amlogic/einstein-kernel/tdk/* $(PRODUCT_OUT)/root/boot/
+ cp device/amlogic/einstein-kernel/tdk/* $(PRODUCT_OUT)/vendor/lib/
+ -cp device/amlogic/einstein-kernel/lib/optee_armtz.ko $(PRODUCT_OUT)/vendor/lib/
+ -cp device/amlogic/einstein-kernel/lib/optee.ko $(PRODUCT_OUT)/vendor/lib/
cp device/amlogic/einstein-kernel/tdk/* $(PRODUCT_OUT)/recovery/root/boot/
-cp device/amlogic/einstein-kernel/obj/KERNEL_OBJ/vmlinux $(PRODUCT_OUT)/obj/KERNEL_OBJ/
mkdir -p $(PRODUCT_OUT)/$(TARGET_COPY_OUT_VENDOR)/lib/modules/
cp $(KERNEL_KO_OUT)/* $(PRODUCT_OUT)/$(TARGET_COPY_OUT_VENDOR)/lib/modules/
-ifeq (,$(wildcard $(BOARD_AML_VENDOR_PATH)/gpu))
mkdir -p $(PRODUCT_OUT)/vendor/lib/egl
mkdir -p $(PRODUCT_OUT)/vendor/lib64/egl
cp device/amlogic/einstein-kernel/lib/egl/* $(PRODUCT_OUT)/vendor/lib/egl/
cp device/amlogic/einstein-kernel/lib64/egl/* $(PRODUCT_OUT)/vendor/lib64/egl/
-endif
$(INSTALLED_KERNEL_TARGET): $(TARGET_PREBUILT_KERNEL) | $(ACP)
@echo "Kernel installed"