Taking UART code out from libc and loader and putting in libdev

This commit is contained in:
Amit Mahajan
2009-11-05 23:45:11 +05:30
parent 272b01d873
commit c44d25b596
18 changed files with 334 additions and 861 deletions

View File

@@ -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') + \