[rtems-source-builder commit] sb: Add option to set location of the patches directory

Chris Johns chrisj at rtems.org
Mon Feb 19 22:51:28 UTC 2018


Module:    rtems-source-builder
Branch:    master
Commit:    d30be3129e9681a74efc80ce241aaf3c3a5b0efe
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=d30be3129e9681a74efc80ce241aaf3c3a5b0efe

Author:    Maksim E. Kozlov <maksim.e.kozlov at gmail.com>
Date:      Fri Feb 16 19:29:39 2018 +0300

sb: Add option to set location of the patches directory

Signed-off-by: Maksim E. Kozlov <maksim.e.kozlov at gmail.com>

---

 source-builder/sb/options.py | 2 ++
 1 file changed, 2 insertions(+)

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')




More information about the vc mailing list