## 1、下载3.0LTS代码 ``` repo init -u git@gitee.com:openharmony/manifest.git -b OpenHarmony-3.0-LTS --no-repo-verify repo sync -c repo forall -c 'git lfs pull' ``` ## 2、将bossay_release_out中的代码放置与对应目录 其中: app文件夹放到applications/sample iot_link放到third_party目录下 vendor和device中的文件夹放置对应目录 ## 3、修改代码(仅当编译数字管家产品需要) 文件:base/security/huks/interfaces/innerkits/huks_lite/BUILD.gn ``` 屏蔽164行 161 sources = huks_sources 162 sources += huks_storage_source 163 sources += huks_access_sources 164 #sources += [ "hks_tmp_client.c" ] ``` ## 4、编译 hb set 选择bossay的产品 hb build -f 编译代码