./build-userland: resolve relative paths

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-03-13 00:00:03 +00:00
parent 276688bb33
commit e32b1cba45
6 changed files with 68 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ See: https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-builtin-cpu-s
break_at = []
linux_full_system = (self.env['baremetal'] is None and self.env['userland'] is None)
if self.env['userland']:
image = self.resolve_userland(self.env['userland'])
image = self.resolve_userland_executable(self.env['userland'])
elif self.env['baremetal']:
image = self.env['image']
test_script_path = os.path.splitext(self.env['source_path'])[0] + '.py'