[Buildroot] [PATCH v5 03/11] autobuild-run: add option --make-opts for custom Buildroot options
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 28 19:29:09 UTC 2015
Dear Thomas De Schampheleire,
On Fri, 12 Dec 2014 21:04:48 +0100, Thomas De Schampheleire wrote:
> + cmd = ["timeout", str(MAX_DURATION), "make", "O=%s" % outputdir,
> + "-C", srcdir, "BR2_DL_DIR=%s" % dldir, "BR2_JLEVEL=%s" % njobs] \
> + + make_opts.split()
This breaks badly when no make_opts are passed:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run
self._target(*self._args, **self._kwargs)
File "./autobuild-run", line 660, in run_instance
ret = do_build(**kwargs)
File "./autobuild-run", line 471, in do_build
+ kwargs['make_opts'].split()
AttributeError: 'NoneType' object has no attribute 'split'
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list