1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/wafsamba
Uri Simchoni 56114bb677 waf: allow cross-execute program to have arguments with spaces
When cross-compiling samba using the cross-execute method,
allow the cross-excute command to have arguments that contain
spaces by quoting them.

For example:

./configure --cross-compile '--cross-execute=ce-program "par am"'

In this case, for each cross test whose binary is /path/testprog,
waf shall run the equivalent of running from a shell:
ce-program "par am" /path/testprog

This is useful for passing an arbitrary argument list to a subprocess
of the cross-execute program, such as in buildtools/examples/run_on_target.py

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2015-05-20 11:19:11 +02:00
..
tests wafsamba.abi: Fix abi_match with both excludes and includes. 2012-11-06 08:27:44 +11:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py wafsamba: Add a CONFIGURE_FILE option. 2012-09-07 10:48:57 +02:00
gccdeps.py wafsamba: Remove shebang lines from non-executable files. 2012-03-15 15:56:27 +01:00
generic_cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
hpuxcc.py build: hpux didn't support -Bdynamic 2010-12-15 12:07:32 +03:00
irixcc.py wafsamba/irixcc: next try to inject '-c99' the the build 2012-06-20 12:58:57 +02:00
nothreads.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
pkgconfig.py build: fixed dependencies on install prefix for pc files and python scripts 2011-06-15 14:13:07 +10:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
samba_abi.py wafsamba: fix samba_abi for default catch-all case 2013-04-09 20:29:18 +02:00
samba_autoconf.py Transition to waf 1.8: wrapped conf.check_cfg 2015-03-16 03:00:07 +01:00
samba_autoproto.py Transition to waf 1.8: replaced on_results by update_outputs 2015-03-16 03:00:07 +01:00
samba_bundled.py wafsamba: fill PRIVATE_NAME() logic again 2014-12-19 13:15:12 +01:00
samba_conftests.py waf: Remove 'linkflags.remove(x)' line added in error. 2015-03-31 04:32:52 +02:00
samba_cross.py waf: allow cross-execute program to have arguments with spaces 2015-05-20 11:19:11 +02:00
samba_deps.py Reduce the no-op build times by 30% 2014-10-03 13:25:18 +02:00
samba_dist.py Drop bzr VCS support. 2015-05-19 19:28:19 +02:00
samba_git.py Factor out submodule presence checking. 2015-05-19 22:17:47 +02:00
samba_headers.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
samba_install.py buildtools: Add --extra-python configure option 2015-05-19 19:28:18 +02:00
samba_optimisation.py Revert "wafsamba: flags from enviroment are put before our own internal versions" 2015-04-26 18:40:39 +02:00
samba_patterns.py Convert all uint32/16/8 to _t in a grab-bag of remaining files. 2015-05-14 22:16:56 +02:00
samba_perl.py wafsamba: add samba_perl.py with SAMBA_CHECK_PERL() higher level check. 2014-09-05 19:47:06 +02:00
samba_pidl.py Transition to waf 1.8: replaced on_results by update_outputs 2015-03-16 03:00:07 +01:00
samba_python.py buildtools: Add a helper for running Python tests 2015-05-19 19:28:19 +02:00
samba_third_party.py wafsamba: Correctly locate the 'third_party' directory 2014-08-21 09:11:06 +02:00
samba_utils.py buildtools: Add a helper for running Python tests 2015-05-19 19:28:19 +02:00
samba_version.py Factor out function for finding Git binary. 2015-05-19 19:28:19 +02:00
samba_wildcard.py wafsamba: Remove shebang lines from non-executable files. 2012-03-15 15:56:27 +01:00
stale_files.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
symbols.py wafsamba: Ignore some more symbols when checking for dupes. 2012-10-11 15:21:31 +02:00
test_duplicate_symbol.sh test_duplicate_symbol: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
tru64cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
wafsamba.py buildtools: Add a helper to iterate through Python environments 2015-05-19 19:28:19 +02:00
wscript buildtools: Add --extra-python configure option 2015-05-19 19:28:18 +02:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf