Openharmony 5.1.0 小型系统编译报错处理过程
·
编译hi3516 small系统报错
./build.sh --product-name ipcamera_hispark_taurus_linux

1.修改内核版本
build/ohos/kernel/kernel.gni
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
linux_kernel_version = "linux-5.10"
}

2.安装编译器
apt install -y gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi
3.再次执行build成功
./build.sh --product-name ipcamera_hispark_taurus_linux

更多推荐


所有评论(0)