Right. With --keep-packs, you can create one build root to build multiple packages, for example:
$ gbs build package1 --keep-packs … $ gbs build package2 --keep-packs … $ gbs build package3 --keep-packs … After these three commands, ~/GBS-ROOT/local/scratch.{arch}.0 is created for building package1,package2,package3, So, you can use --noinit and --incremental together now. $ gbs build package1 –incremental –noinit $ gbs build package2 –incremental –noinit … With ‘--incremental --noinit’, that’s just like make directly. Thanks Qiang From: Yoon, Youngsik Sent: Thursday, March 07, 2013 12:32 PM To: Zhang, Qiang Z; ???; general@lists.tizen.org Subject: RE: [Tizen General] Can I use "make" command instead of "gbs"? And also consider to use –keep-packs option. It keep unused packages in build root. Thanks, Yoon From: general-boun...@lists.tizen.org<mailto:general-boun...@lists.tizen.org> [mailto:general-boun...@lists.tizen.org] On Behalf Of Zhang, Qiang Z Sent: Thursday, March 07, 2013 12:28 PM To: 차상욱; general@lists.tizen.org<mailto:general@lists.tizen.org> Subject: Re: [Tizen General] Can I use "make" command instead of "gbs"? Hello, Please refer to incremental build session of gbs build doc: https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build --incremental is what you want, here’s the basic commands: $ gbs build -A <arch> --incremental # build first, and all temp object files would be generated under git dir, #in this way, if you transfer to build another package, the object files can not be removed $ make changes of source $ gbs build –A <arch> --incremental --noinit # --noinit and –incremental can be used together to speep up totally build process. Please have a try, any comments welcome. Thanks Qiang From: general-boun...@lists.tizen.org<mailto:general-boun...@lists.tizen.org> [mailto:general-boun...@lists.tizen.org] On Behalf Of ??? Sent: Thursday, March 07, 2013 8:16 AM To: general@lists.tizen.org<mailto:general@lists.tizen.org> Subject: [Tizen General] Can I use "make" command instead of "gbs"? Hi, guys. To build platform sources, we should use "gbs" command described in platform build document. If I develop multiple projects, gbs builds one project, deletes it and start building another project when I checked "GBS-ROOT/local/scratchxxx" folder. And, when I changed a source file, it builds full sources in the project. I think it is very redundant work. Is there any method to get more efficient building process? For example, I want to use "make" to check source dependency and build sources. Thanks. [Image removed by sender.]
<<inline: image001.jpg>>
_______________________________________________ General mailing list General@lists.tizen.org https://lists.tizen.org/listinfo/general