first version of localbuild integrated with depanneur
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 5 Sep 2012 04:22:21 +0000 (12:22 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 13 Sep 2012 03:02:24 +0000 (11:02 +0800)
commit4d0004731ca3c23fc77b5790f8504d7065168ad8
treea429779e978da9fee0ec6ea53bff1d324b1592e5
parent5e1f64c9607ef94e797099f82a9a0aa2797ac50e
first version of localbuild integrated with depanneur

Available features:
* multiple packages build
* parallel build with multiple threads
* dependency build automaticlly
* local repo generated

Already implemented depanneur options:
* --clean, --clean-once, --overwrite
* --incremental, --keepgoing, --no-configure
* --exclude, --exclude-from-file
* --thread
* --binary-list
* --debug

Usage Example:
$ mkdir tizen-packages
$ cp package1 package2 package3 ... tizen-packages/
$ gbs localbuild -A ia32 tizen-packages # build all packages under tizen-packages
$ cd tizen-packages/
$ gbs localbuild -A ia32 # build all packages under current dir
$ gbs localbuild -A ia32 --overwrite --include-all
$ gbs localbuild -A i586 --threads=2
$ gbs localbuild -A i586 --threads=2 --exclude=dlog --exclude=eglibc
$ gbs localbuild -A i586 --threads=4 --binary-list=/path/to/pkgs.list
$ cd package1/
$ gbs localbuild -A i586 --incremental # only support build one package

Change-Id: I8e214601cc3021c33c8a95b00477bd18546e05c3
gitbuildsys/cmd_localbuild.py [new file with mode: 0644]
tools/gbs