build-linux: do olddefconfig even if no fragments

In particular, gem5 kernel 4.15 needs it
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-14 00:00:08 +00:00
parent 684bc6b908
commit de76f29d47

View File

@@ -182,13 +182,13 @@ Run `make modules_install` after `make`.
] + ] +
self.sh.add_newlines(config_fragments) self.sh.add_newlines(config_fragments)
) )
self.sh.run_cmd( self.sh.run_cmd(
( (
common_make_args + common_make_args +
['olddefconfig', LF] ['olddefconfig', LF]
), ),
**common_args **common_args
) )
if self.env['build']: if self.env['build']:
self.sh.run_cmd( self.sh.run_cmd(
( (