build: Define _BOOT_MODE once and for all in ArchitectureRules+BootRules.

Previously it was spread all around the tree, and was not defined
consistently for all boot objects (there were a number of boot modules
which did not define it, but did include headers which checked for it.)

Now, as it is handled in SetupBoot which is invoked for all boot objects,
it will be applied consistently throughout. We can thus drop the manual
additions of it from all Jamfiles.
This commit is contained in:
Augustin Cavalier
2022-11-29 20:18:12 -05:00
parent d48f4fd05f
commit f6166140a1
36 changed files with 27 additions and 86 deletions
+1
View File
@@ -573,6 +573,7 @@ local buildVars =
DEFINES
KERNEL_DEFINES
BOOT_DEFINES
KERNEL_CCFLAGS KERNEL_C++FLAGS
KERNEL_PIC_CCFLAGS KERNEL_PIC_LINKFLAGS KERNEL_ADDON_LINKFLAGS