baremetal: build userland programs using userland_and_baremetal instead of symlinks

Otherwise I'll go crazy with symlink action.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-23 00:00:01 +00:00
parent c8c4f89854
commit fbfc4905ec
29 changed files with 200 additions and 177 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']
)