mirror of
https://github.com/drasko/codezero.git
synced 2026-01-27 02:03:14 +01:00
Taking UART code out from libc and loader and putting in libdev
This commit is contained in:
@@ -15,12 +15,12 @@ sys.path.append(PROJRELROOT)
|
||||
from config.configuration import *
|
||||
from config.projpaths import *
|
||||
|
||||
Import('env', 'arch', 'platform')
|
||||
variant = 'baremetal'
|
||||
Import('env', 'arch', 'platform', 'type')
|
||||
variant = type
|
||||
|
||||
e = env.Clone()
|
||||
e.Append(CPPPATH = ['include/sys-' + variant + '/arch-' + arch])
|
||||
e.Append(CCFLAGS = ['-nostdinc', ('-D' + platform)])
|
||||
e.Append(CPPPATH = ['include/sys-' + variant + '/arch-' + arch],
|
||||
CCFLAGS = ['-nostdinc', '-DVARIANT_' + variant.upper()])
|
||||
|
||||
source = \
|
||||
Glob('src/*.c') + \
|
||||
|
||||
Reference in New Issue
Block a user