ROMBUILD Obey File Structure
A ROMBUILD
obey file consists of a number of sections, each
defining a ROM image:
-
a KernelRomSection
that defines a bootable ROM image,
and includes the Kernel
-
one or more ExtensionRomSection
s that define ROM images
that extend the KernelRomSection
.
Every section contains a list of obey statements that specify ROM
configuration information or specifies the files to be included in the ROM
image.
Extension ROM sections are marked by the
extensionrom keyword,
and can only contain those ROM information statements that are not related to
the Kernel configuration.
The structure is defined as:
ObeyFile : KernelRomSection [ ExtensionRomList ]
KernelRomSection : ObeyStatementList
ExtensionRomList : ExtensionRomSection | ExtensionRomSection ExtensionRomList
ExtensionRomSection : extensionrom = <RomFileName> ObeyStatementList
ObeyStatementList : ObeyStatement | ObeyStatement ObeyStatementList
ObeyStatement : RomStatement | FileStatement
RomStatement
A RomStatement
is one of the following.
FileStatement
FileStatement : ControlStatement | FileSpecificationStatement | RomDirectoryStatement
A ControlStatement
is one of the following:
A FileSpecificationStatement
is one of the following:
A RomDirectoryStatement
is one of the following:
FileAttributeList
FileAttributeList : FileAttribute | FileAttribute FileAttributeList
A FileAttribute
is one of the following:
attrib =
|
[ s | S ][ h | H ][ r | R | w | W ] | hide
|
OverrideAttributeList
OverrideAttributeList : OverrideAttribute | OverrideAttribute OverrideAttributeList
An overrideAttribute
is one of the following: