baremetal: build userland/ programs using baremetal path property instead of symlinks

Otherwise I'll go crazy with symlink action.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-24 00:00:00 +00:00
parent edfbe9f0d7
commit 05aa5c7c79
49 changed files with 372 additions and 271 deletions

View File

@@ -15,7 +15,7 @@ class Main(common.BuildCliFunction):
kwargs['description'] = '''\
Build our compiled userland examples.
'''
super().__init__(*args, **kwargs)
super().__init__(*args, is_userland=True, **kwargs)
self._add_argument('--ccflags')
self._add_argument('--force-rebuild')
self._add_argument('--optimization-level')
@@ -109,7 +109,7 @@ Default: build all examples that have their package dependencies met, e.g.:
def setup_one(self):
self.env['targets'] = self.resolve_targets(
self.env['userland_source_dir'],
[self.env['userland_source_dir']],
self.env['targets']
)