mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
stream: play with the STREAM benchmark
This commit is contained in:
@@ -42,13 +42,13 @@ https://cirosantilli.com/linux-kernel-module-cheat#dhrystone
|
||||
'-j', str(self.env['nproc']), LF,
|
||||
'-C', os.path.join(self.env['submodules_dir'], 'dhrystone'), LF,
|
||||
'CC={}'.format(self.env['gcc_path']), LF,
|
||||
'CFLAGS={}'.format(' '.join(cflags)), LF,
|
||||
'CFLAGS_EXTRA={}'.format(' '.join(cflags)), LF,
|
||||
'EXTRA_OBJS={}'.format(' '.join(extra_objs)), LF,
|
||||
'OUT_DIR={}'.format(build_dir), LF,
|
||||
]
|
||||
+ extra_flags
|
||||
)
|
||||
if ret == 0 and env['copy_overlay']:
|
||||
if ret == 0 and self.env['copy_overlay']:
|
||||
self.sh.copy_file_if_update(
|
||||
os.path.join(build_dir, 'dhrystone'),
|
||||
os.path.join(self.env['out_rootfs_overlay_lkmc_dir'], self.root_relpath, 'dhrystone'),
|
||||
|
||||
Reference in New Issue
Block a user