From f1043693f232a06b64191d6bff7c0608b5c870e8 Mon Sep 17 00:00:00 2001 From: wylyw78 Date: Thu, 20 Jun 2024 17:15:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DLinux=20arm=20host=20openharm?= =?UTF-8?q?ony=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wylyw78 --- linux-5.10/rk3568_patch/kernel.patch | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/linux-5.10/rk3568_patch/kernel.patch b/linux-5.10/rk3568_patch/kernel.patch index 6a85812..8733651 100755 --- a/linux-5.10/rk3568_patch/kernel.patch +++ b/linux-5.10/rk3568_patch/kernel.patch @@ -1758611,13 +1758611,19 @@ new file mode 100755 index 000000000000..70ad2c5ccf41 --- /dev/null +++ b/make-ohos.sh -@@ -0,0 +1,142 @@ +@@ -0,0 +1,148 @@ +#!/bin/bash + +set -e + +SCRIPTPATH=$(dirname $realpath "$0") -+export PATH=$(realpath $SCRIPTPATH/../../../../)/prebuilts/clang/ohos/linux-x86_64/llvm/bin/:$(realpath $SCRIPTPATH/../../../../)/prebuilts/develop_tools/pahole/bin/:$PATH ++case $(uname -m) in ++ aarch64) ++ export PATH=$(realpath $SCRIPTPATH/../../../../)/prebuilts/clang/ohos/linux-aarch64/llvm/bin/:$(realpath $SCRIPTPATH/../../../../)/prebuilts/develop_tools/pahole/linux-aarch64/bin/:$PATH ++ ;; ++ *) ++ export PATH=$(realpath $SCRIPTPATH/../../../../)/prebuilts/clang/ohos/linux-x86_64/llvm/bin/:$(realpath $SCRIPTPATH/../../../../)/prebuilts/develop_tools/pahole/bin/:$PATH ++esac +export PRODUCT_PATH=vendor/hihope/rk3568 +IMAGE_SIZE=64 # 64M +IMAGE_BLOCKS=4096 -- Gitee