src_dir = os.getcwd()
else:
args.append('O=build')
- if not self.builder.verbose_build:
+ if self.builder.verbose_build:
+ args.append('V=1')
+ else:
args.append('-s')
if self.builder.num_jobs is not None:
args.extend(['-j', str(self.builder.num_jobs)])
# Now write the actual build output
if keep_outputs:
- self.CopyFiles(result.out_dir, build_dir, '', ['u-boot', '*.bin',
- 'u-boot.dtb', '*.map', '*.img',
- 'spl/u-boot-spl', 'spl/u-boot-spl.bin',
- 'tpl/u-boot-tpl', 'tpl/u-boot-tpl.bin'])
+ self.CopyFiles(result.out_dir, build_dir, '', ['u-boot*', '*.bin',
+ '*.map', '*.img', 'MLO', 'include/autoconf.mk',
+ 'spl/u-boot-spl*'])
def CopyFiles(self, out_dir, build_dir, dirname, patterns):
"""Copy files from the build directory to the output.