mirror of
https://github.com/openharmony/vendor_kaihong.git
synced 2026-06-30 21:27:57 -04:00
@@ -10,7 +10,7 @@
|
||||
sudo apt-get update && sudo apt-get install binutils binutils-dev flex bison build-essential zlib1g-dev gcc-multilib g++-multilib libc6-dev-amd64 lib32ncurses5-dev libx11-dev lib32z1-dev ccache unzip ruby zip make e2fsprogs liblz4-tool perl openssl libssl-dev libelf-dev libdwarf-dev u-boot-tools mtd-utils liblz4-tool gcc g++ libncurses5 apt-utils wget scons tar rsync git-core lib32z-dev quota libtinfo-dev libtinfo5 libncurses5-dev bc default-jdk libssl-dev libtinfo5 genext2fs
|
||||
```
|
||||
|
||||
说明:以上安装命令适用于Ubuntu 20.04,其他版本请根据安装包名称采用对应的安装命令。
|
||||
说明:以上安装命令适用于Ubuntu 20.04,其它版本请根据安装包名称采用对应的安装命令。
|
||||
|
||||
### **2、安装交叉编译工具arm-none-eabi-gcc**
|
||||
|
||||
@@ -37,7 +37,7 @@ tar -jxvf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -C ~/toolchain/
|
||||
vim ~/.bashrc
|
||||
```
|
||||
|
||||
将以下命令拷贝到.bashrc文件的最后一行,保存并退出。
|
||||
将以下命令拷贝到.bashrc文件的末尾一行,保存并退出。
|
||||
|
||||
```
|
||||
export PATH=~/toolchain/gcc-arm-none-eabi-10.3-2021.10/bin:$PATH
|
||||
@@ -68,7 +68,7 @@ git config --global credential.helper store
|
||||
4)安装码云repo工具,可以执行如下命令。
|
||||
|
||||
```
|
||||
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo #如果没有权限,可下载至其他目录,并将其配置到环境变量中
|
||||
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo #如果没有权限,可下载至其它目录,并将其配置到环境变量中
|
||||
chmod a+x /usr/local/bin/repo
|
||||
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
|
||||
```
|
||||
|
||||
@@ -17,36 +17,36 @@
|
||||
#define PRODUCT_GRAPHIC_LITE_CONFIG_H
|
||||
|
||||
/**
|
||||
* @brief Font shaping, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Font shaping, which is disabled by default on LiteOS.
|
||||
* Cannot take effect without ENABLE_ICU.
|
||||
*/
|
||||
#define ENABLE_SHAPING 0
|
||||
/**
|
||||
* @brief Advanced algorithm for line breaks, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Advanced algorithm for line breaks, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_ICU 0
|
||||
/**
|
||||
* @brief Multi-Font type, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Multi-Font type, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_MULTI_FONT 0
|
||||
/**
|
||||
* @brief Multi-window, which does not take effect on Huawei LiteOS.
|
||||
* @brief Multi-window, which does not take effect on LiteOS.
|
||||
*/
|
||||
#define ENABLE_WINDOW 0
|
||||
/**
|
||||
* @brief Display buffer for rendering data refresh, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Display buffer for rendering data refresh, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_FRAME_BUFFER 1
|
||||
/**
|
||||
* @brief Vector type font, which is enabled by default on Huawei LiteOS.
|
||||
* @brief Vector type font, which is enabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_VECTOR_FONT 1
|
||||
/**
|
||||
* @brief Bitmap type font, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Bitmap type font, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_BITMAP_FONT 0
|
||||
/**
|
||||
* @brief Static Bitmap type font, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Static Bitmap type font, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_STATIC_FONT 0
|
||||
|
||||
@@ -57,19 +57,19 @@
|
||||
#define FULLY_RENDER 1
|
||||
|
||||
/**
|
||||
* @brief Graphics rendering hardware acceleration, which is enabled by default on Huawei LiteOS.
|
||||
* @brief Graphics rendering hardware acceleration, which is enabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_HARDWARE_ACCELERATION 0
|
||||
/**
|
||||
* @brief Graphics rendering hardware acceleration for text, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Graphics rendering hardware acceleration for text, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_HARDWARE_ACCELERATION_FOR_TEXT 0
|
||||
/**
|
||||
* @brief Graphics rendering accelerated by gfx_engines, which is disabled by default on Huawei LiteOS.
|
||||
* @brief Graphics rendering accelerated by gfx_engines, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_GFX_ENGINES 0
|
||||
/**
|
||||
* @brief ARM NEON ability, which is disabled by default on Huawei LiteOS.
|
||||
* @brief ARM NEON ability, which is disabled by default on LiteOS.
|
||||
*/
|
||||
#define ENABLE_ARM_NEON 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user