Commit Graph

105 Commits

Author SHA1 Message Date
openharmony_ci 583156f46d !10 Add issue and PR template for master
Merge pull request !10 from mamingshuai/add_issus_pr_template_for_master
OpenHarmony-v3.1-Beta
2021-12-16 22:59:38 +00:00
openharmony_ci 35cb218137 !74 【轻量级 PR】:add deps,run the 'strip' task.
Merge pull request !74 from weichaox/N/A
2021-12-14 06:20:51 +00:00
weichaox 602a41313d add deps,run the 'strip' task.
Signed-off-by: weichaox <wangweichao2@huawei.com>
2021-12-14 03:39:49 +00:00
openharmony_ci 3df696c292 !73 拷贝libgcc_s.so库改为拷贝libgcc_s.so.1库
Merge pull request !73 from Caoruihong/libgcc_s.so.1
2021-12-08 11:06:20 +00:00
Caoruihong cb5139c38a chore(build): get libgcc_s.so.1 instead of libgcc_s.so
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Id10f5e53a2a7a6ccd213130815477e09e38d295f
2021-12-08 18:51:23 +08:00
openharmony_ci d4864a8a7b !70 添加对GCC工具链的支持
Merge pull request !70 from Caoruihong/support_gcc
2021-12-08 07:20:39 +00:00
Caoruihong 8f3e745b4d feat: add support for gcc toolchain
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I021d034446f7440a7529ae2b34685752bb104763
2021-12-05 01:21:51 +08:00
openharmony_ci 77ef1a4607 !72 适配liteos_m新的Kconfig构建框架
Merge pull request !72 from Caoruihong/kconfig
2021-11-11 06:04:29 +00:00
Caoruihong 897fca069e chore(build): support liteos_m Kconfig build system
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ic6eb3311b66d68a3400c51617317ece07ff58a0a
2021-11-01 11:37:36 +08:00
openharmony_ci e6e47b09e3 !71 use no_default_deps to replace mark_as_prebuilts
Merge pull request !71 from yaoxiaoyu_903c/master
2021-10-29 02:36:03 +00:00
yaoxiaoyu a80e98f497 replace mark_as_prebuilts with no_default_deps
Signed-off-by: yaoxiaoyu <yaoxiaoyu1@huawei.com>
Change-Id: I4a7639f92ef749019fb849a3e7779a9772c4ad44
2021-10-27 14:27:48 +08:00
openharmony_ci 5c7728bc96 !69 改进增量编译效率
Merge pull request !69 from Caoruihong/opt_make_scripts
2021-09-09 12:48:24 +00:00
Caoruihong 28ed376f30 chore: optimize incremental build
use redirect instead of touch to create an non-exist file
so the timestamps of it will not be changed unintentionally

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Iab0a0251775261bf19f7ce1f569075f0a3ce1f3c
2021-09-09 20:07:46 +08:00
openharmony_ci 6aee35e5f4 !67 mark_as_prebuilts目标被移动到//build/lite模块
Merge pull request !67 from Caoruihong/optimize_build_scripts
OpenHarmony-v3.0.1-LTS OpenHarmony-v3.0-LTS
2021-08-30 11:06:27 +00:00
Caoruihong 7e37567497 chore: optimize makefile and move mark_as_prebuilts to //build/lite
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ie1c166b7b4c196fd386b63d21651f774f4bb5720
2021-08-29 03:41:09 +08:00
openharmony_ci 86b568efcd !65 适配升级optimized-routines到v21.02
Merge pull request !65 from Caoruihong/v21.02
2021-08-28 01:06:08 +00:00
openharmony_ci 438aa77bab !66 Gitee Review - zzzuo
Merge pull request !66 from Zachery Wu/zzzuo
2021-08-26 07:54:34 +00:00
Zachery Wu 9540f39b79 modify kernel build fwk
Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
Change-Id: I420bb2c882de03a9017c104c8b5fdd7f095d6316
2021-08-26 14:50:30 +08:00
Caoruihong d1bb793429 chore: adapte for optimized-routines v21.02
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I6303a0f3d54665273e7fb7e4c2e17da803171480
2021-08-26 13:21:44 +08:00
openharmony_ci 40640ec20c !64 fix: 修复文档链接失效问题
Merge pull request !64 from Harylee/qemu
OpenHarmony-v3.0-Beta1
2021-08-12 06:21:09 +00:00
Haryslee 1f48d93f7e fix: 修复文档链接失效问题
close #I452A7

Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I4c98693485d790a3345ca6261e25161d5f70bfec
2021-08-12 14:14:54 +08:00
openharmony_ci 4ae663fe00 !63 支持使用多构架的预生成的UAPI头文件
Merge pull request !63 from Caoruihong/multi_arch_uapi
2021-08-11 09:35:14 +00:00
Caoruihong 89007bbeb7 chore: support multi-arch prebuilt uapi headers
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I8e38edcba4f9a858bac6a732a7ad8260a9f9648a
2021-08-10 12:06:46 +08:00
openharmony_ci 9e5efe59ea !60 修改OAT.xml,去掉注释,屏蔽COPYRIGHT
Merge pull request !60 from SimonLi/master
2021-08-05 18:13:28 +00:00
SimonLi f5204ee275 chore(oat): 修改OAT.xml,去掉注释,屏蔽COPYRIGHT
Signed-off-by: SimonLi <likailong@huawei.com>
2021-08-06 01:53:28 +08:00
openharmony_ci 522d9152be !59 新增OAT配置文件,用作oat扫描
Merge pull request !59 from SimonLi/master
2021-08-05 16:17:48 +00:00
SimonLi 0c2eda9c05 chore(oat): 新增OAT配置文件,用作oat扫描
Signed-off-by: SimonLi <likailong@huawei.com>
2021-08-05 23:55:39 +08:00
openharmony_ci aa747b78c1 !58 L2 Musl已支持源码编译,删除此目录
Merge pull request !58 from dhy308/master
2021-08-05 08:47:07 +00:00
dhy308 3cef8c3268 L2采用源码编译后,这个路径下的文件已经不需要
Signed-off-by: dhy308 <tony.gan@huawei.com>
2021-08-05 15:34:08 +08:00
openharmony_ci 2104a096e1 !57 保留原来的做法将Libc/libc++两个动态库放在libs目录下
Merge pull request !57 from Caoruihong/libc_dir
2021-08-02 08:51:35 +00:00
Caoruihong 459b42f597 fix: keep libc.so libc++.so in libs dir
most fs.yml need this old dir structures

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ib2a5d230741ae1babb99078fbf0ec02810f4eaa3
2021-08-02 15:22:48 +08:00
openharmony_ci 9f805d9b34 !56 对libc.so和libc++.so进行strip
Merge pull request !56 from Caoruihong/strip_libc
2021-07-31 09:23:02 +00:00
Caoruihong 9862ceaf52 feat: strip libc and libc++
libc and libc++ should be stripped before packing into rootfs

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I303c03debdaa29bbefeb39e62a0ffd44764304a8
2021-07-30 18:18:54 +08:00
openharmony_ci cba516cbc1 !55 fix: 修复用户态内存调测模块开启时编译不过问题
Merge pull request !55 from Harylee/mem
2021-07-28 05:28:51 +00:00
Haryslee 050fdbe7ea fix: 修复用户态内存调测模块开启时编译不过问题
背景:内存调测模块编译时依赖libunwind.a库,编译时若不显式指定-lunwind链接选项对于依赖该库的程序
会编译报错。
修复:由于对链接libc.a库的所有程序添加对应的链接选项不现实,故将libunwind.a打包进libc.a,使得依
赖libunwind.a的所有程序无需显式链接unwind库即可链接成功。

close #I42O66

Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I52965869e53e09e6a2596b958c63f299a3c7c8cc
2021-07-28 11:36:33 +08:00
openharmony_ci eccfbfa22c !53 从Make编译切换到GN编译
Merge pull request !53 from Caoruihong/build_gn
2021-07-22 01:50:21 +00:00
Caoruihong 603fe3554f chore: optimize and format BUILD.gn
--path is mandatory for build_ext_component target.
asmflags also need target, sysroot and arch cflags.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ief0a740abfcf8be41fbcbced5d965a54490c2659
2021-07-17 18:05:19 +08:00
openharmony_ci a7169f6def !52 优化Makefile并且删除无用文件
Merge pull request !52 from Caoruihong/remove_unused_files
OpenHarmony-v2.2-Beta2
2021-07-13 07:21:15 +00:00
Caoruihong 97f3670d44 chore: optimize Makefile and remove unused files
optimize Makefile and remove unused files

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I10061f5f391422c96aa4bd041458d381d0b4a4e4
2021-07-13 11:27:51 +08:00
openharmony_ci d2b7a26c39 !51 修复board_configed_sysroot非空时的一个编译报错
Merge pull request !51 from Caoruihong/fix_arch_cflags
2021-07-12 02:36:41 +00:00
Caoruihong fa15ba26d0 fix: fix the error when board_configed_sysroot is not empty
when board_configed_sysroot is not empty, there is an error
raised in building saying arch_cflags not defined.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I771d064c1a9b17c0262fc9c15bc90acbf6a9c6ae
2021-07-10 20:01:36 +08:00
openharmony_ci 609e6c43cf !50 在LINUX源码目录外生成编译时的临时文件
Merge pull request !50 from Caoruihong/build_linux_out
2021-07-08 14:32:36 +00:00
Caoruihong 78b5919d41 chore: make linux uapi headers in temp out dir
make linux uapi headers in linux kernel dir will dirty
the linux kernel dir

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I0414342bb0f8857b1dd955a011143ab522ab599d
2021-07-08 16:12:23 +08:00
openharmony_ci a39e271cf5 !49 内部使用LINUXHDRDIR变量代替PREBUILTLINUXHDRDIR以正确实现通过命令行参数指定LINUX UAPI头文件路径
Merge pull request !49 from Caoruihong/PREBUILTLINUXHDRDIR
2021-07-06 09:38:59 +00:00
Caoruihong 01494d4120 chore: use LINUXHDRDIR instead of PREBUILTLINUXHDRDIR as inner variable
use LINUXHDRDIR instead of PREBUILTLINUXHDRDIR as inner variable for
supporting linux uapi header path passing by command line.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I73a3f05462856168189641f1d1b3b0dabb28a3dd
2021-07-06 10:12:08 +08:00
openharmony_ci f69aaf20c7 !48 回退删除sysroot,暂时保留sysroot供L2使用
Merge pull request !48 from Caoruihong/revert_remove_sysroot
2021-07-05 11:30:12 +00:00
Caoruihong 0ffc6c2a75 Revert "chore: remove the prebuilt sysroot binaries and header files"
This reverts commit f73d3d8cc1.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ib766ba448a923fd334ad15a6f6b54412eaf0e742
2021-07-05 17:45:59 +08:00
openharmony_ci 076cbbc781 !45 使用patch过后的linux内核来生成uapi头文件
Merge pull request !45 from Caoruihong/linux_uapi
2021-07-05 06:46:58 +00:00
openharmony_ci d889d24449 !47 删除sysroot,由编译时自动生成
Merge pull request !47 from Caoruihong/remove_sysroot
2021-07-05 02:57:13 +00:00
Caoruihong f73d3d8cc1 chore: remove the prebuilt sysroot binaries and header files
sysroot should be auto generated at build time.

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Ic5437172c3720b43f20ee1475300a493026ed973
2021-07-02 20:08:44 +08:00