Add bare/config and move the source-builder/config to it.

Rework the RTEMS build set files to point to the new location.

Move the files into devel, this follows the ports naming in
FreeBSD.

Update the macros, defaults, and options to support this.
This commit is contained in:
Chris Johns
2013-05-14 11:08:02 +10:00
parent df9c0816e2
commit 1a56a07605
37 changed files with 31 additions and 27 deletions

View File

@@ -62,6 +62,7 @@ class macros:
self.macros['global'] = {}
self.macros['global']['_cwd'] = ('dir', 'required', path.abspath(os.getcwd()))
self.macros['global']['_sbdir'] = ('dir', 'required', path.abspath(sbdir))
self.macros['global']['_sbtop'] = ('dir', 'required', path.abspath(path.dirname(sbdir)))
else:
self.macros = {}
for m in original.macros:
@@ -145,7 +146,7 @@ class macros:
raise TypeError('bad value tuple value field: %s' % (type(value[2])))
if value[0] not in ['none', 'triplet', 'dir', 'file', 'exe']:
raise TypeError('bad value tuple (type field): %s' % (value[0]))
if value[1] not in ['none', 'optional', 'required',
if value[1] not in ['none', 'optional', 'required',
'override', 'undefine', 'convert']:
raise TypeError('bad value tuple (attrib field): %s' % (value[1]))
if value[1] == 'convert':