mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
baremetal: build userland programs using userland_and_baremetal instead of symlinks
Otherwise I'll go crazy with symlink action.
This commit is contained in:
@@ -14,6 +14,7 @@ class Main(common.BuildCliFunction):
|
||||
description='''\
|
||||
Build the baremetal examples with crosstool-NG.
|
||||
''',
|
||||
is_baremetal=True,
|
||||
supported_archs=common.consts['crosstool_ng_supported_archs']
|
||||
)
|
||||
self._add_argument('--ccflags')
|
||||
@@ -137,7 +138,10 @@ Build the baremetal examples with crosstool-NG.
|
||||
|
||||
def setup_one(self):
|
||||
self.env['targets'] = self.resolve_targets(
|
||||
self.env['baremetal_source_dir'],
|
||||
[
|
||||
self.env['baremetal_source_dir'],
|
||||
self.env['userland_source_dir']
|
||||
],
|
||||
self.env['targets']
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user