mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
baremetal: build userland/ programs using baremetal path property instead of symlinks
Otherwise I'll go crazy with symlink action.
This commit is contained in:
@@ -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']
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user