summaryrefslogtreecommitdiffstats
path: root/source-builder
diff options
context:
space:
mode:
authorMaksim E. Kozlov <maksim.e.kozlov@gmail.com>2018-02-16 19:29:39 +0300
committerChris Johns <chrisj@rtems.org>2018-02-20 09:51:05 +1100
commitd30be3129e9681a74efc80ce241aaf3c3a5b0efe (patch)
treeea219d67525b50e1b4fee936e729350a0cbeee5b /source-builder
parentsb: Option --source-only-download does not download the source. (diff)
downloadrtems-source-builder-d30be3129e9681a74efc80ce241aaf3c3a5b0efe.tar.bz2
sb: Add option to set location of the patches directory
Signed-off-by: Maksim E. Kozlov <maksim.e.kozlov@gmail.com>
Diffstat (limited to 'source-builder')
-rw-r--r--source-builder/sb/options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 4800005..59f3cc1 100644
--- a/source-builder/sb/options.py
+++ b/source-builder/sb/options.py
@@ -59,6 +59,7 @@ class command_line:
'--configdir' : ('_configdir', self._lo_path, True, None, False),
'--builddir' : ('_builddir', self._lo_path, True, None, False),
'--sourcedir' : ('_sourcedir', self._lo_path, True, None, False),
+ '--patchdir' : ('_patchdir', self._lo_path, True, None, False),
'--tmppath' : ('_tmppath', self._lo_path, True, None, False),
'--jobs' : ('_jobs', self._lo_jobs, True, 'max', True),
'--log' : ('_logfile', self._lo_string, True, None, False),
@@ -214,6 +215,7 @@ class command_line:
print('--configdir path : Path to the configuration directory, default: ./config')
print('--builddir path : Path to the build directory, default: ./build')
print('--sourcedir path : Path to the source directory, default: ./source')
+ print('--patchdir path : Path to the patches directory, default: ./patches')
print('--tmppath path : Path to the temp directory, default: ./tmp')
print('--macros file[,[file] : Macro format files to load after the defaults')
print('--log file : Log file where all build out is written too')