1 Star 0 Fork 0

stonesxd / notes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

notes

介绍

备忘录

常用链接

IDM

openharmony

openharmony temp

ci openharmony

rk3568开发环境

sudo apt-get install genext2fs
sudo apt-get install liblz4-tool
sudo apt-get install libtinfo5

repo init -u git@gitee.com:openharmony/manifest.git -b master --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'

./build.sh --product-name Hi3516DV300
./build.sh --product-name rk3568

format gn

~/code/openhm/dev_master/prebuilts/build-tools/linux-x86/bin/gn format BUILD.gn

修改 Hosts 解决 Github 访问

github host1

github host2

生成compile_commands.json用于clangd解析

ninja -C out/hi3516dv300/ -t compdb cxx cc > out/hi3516dv300/compile_commands.json
ln -s out/hi3516dv300/compile_commands.json compile_commands.json 

ninja -C out/rk3568/ -t compdb cxx cc > out/rk3568/compile_commands.json
ln -s out/rk3568/compile_commands.json compile_commands.json 

git 同步 upstream 操作

git remote add upstream https://gitee.com/openharmony/third_party_egl.git
git remote set-url --push upstream no_push
git fetch upstream
git checkout master
git rebase upstream/master

直接在repo项目的push

git push https://gitee.com/码云账号/仓名 分支名:refs/heads/远程分支名
git push https://gitee.com/stonesxd/graphic_standard feature_1:refs/heads/feature_0105
git push -f https://gitee.com/stonesxd/graphic_standard feature_1:refs/heads/feature_0105

重置oh编译环境

安装依赖包: unix_time=`date '+%s'`;for one_tools in `curl -s -k https://gitee.com/landwind/openharmony_oneclick_env_init/raw/master/apt_install.list`;do echo "apt-get install -y ${one_tools}">>/tmp/openharmony_deps_${unix_time}.sh; done;sudo apt-get update;sudo bash -x /tmp/openharmony_deps_${unix_time}.sh
删除out: rm -rf out
重置工作区,删除所有修改(记得备份你改的代码): repo forall -c "pwd;git reset --hard; git clean -fd"
更新最新代码: repo sync -c -j8; repo forall -c "pwd;git lfs install;git lfs pull"
执行prebuilts下载脚本: bash build/prebuilts_download.sh

空文件

简介

备忘录 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/stonesxd/notes.git
git@gitee.com:stonesxd/notes.git
stonesxd
notes
notes
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891