summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/waf-samba.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* waf-samba.bbclass: move to meta-networkingJackie Huang2016-04-011-95/+0
| | | | | | | | | | The recipes that are using waf-samba were all moved to meta-networking, so move the bbclass and related cross-answers files as well. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* waf-samba.bbclass: add cross-answers option and filesJackie Huang2016-03-021-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --cross-execute uses qemu to run cross-compiled binaries, it works fine for qemu supported targets, but it definitely will fail if the target is not supported by qemu. So we need to use the cross-answers option. Added three methods and set 'answer' as default: 1. answers: Only --cross-answers - try the cross-answers file, and if there's no corresponding answer, add to the file and mark the configure process as unfinished. 2. exec: Only --cross-execute - get the answer from cross-execute, an emulator (qemu) is used to run cross-compiled binaries. 3. both: Try the cross-answers file first, and if there is no corresponding answer, use cross-execute to get an answer, and add that answer to the file. The cross files in are all generated by qemu when the 'both' mode is enabled, and are placed in a common directory LAYERDIR/files/waf-cross-answers which is set as WAF_CROSS_ANSWERS_PATH in layer.conf of meta-oe, so that we don't have to put copies of them for each package (there are 5 packages inerit waf-samba for now) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* waf-samba: enable parallel buildsJens Rehsack2016-01-061-0/+4
| | | | | | | | | Instead of relying on sequencial waf build invoked by make, invoke waf as documented with default switch for building in parallel. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba.bbclass: add missing qemu optionsJackie Huang2015-11-021-2/+1
| | | | | | | | | | - QEMU_OPTIONS is needed for running binary through qemu, add it for CROSS_EXEC. - "-r ${OLDEST_KERNEL}" is already included in QEMU_OPTIONS, remove it from CROSS_EXEC Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba.bbclass: remove bashismJackie Huang2015-09-231-1/+1
| | | | | | | use '=' instead of '==' so this works with dash as /bin/sh Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* waf-samba: add new classBian Naimeng2015-08-241-0/+51
waf-samba is a build system used by samba related software Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>