mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build-dhrystone: use copy_overlay env
This commit is contained in:
@@ -48,7 +48,7 @@ https://cirosantilli.com/linux-kernel-module-cheat#dhrystone
|
||||
]
|
||||
+ extra_flags
|
||||
)
|
||||
if ret == 0 and self.env['mode'] == 'userland':
|
||||
if ret == 0 and 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