Include BoardSetup from BuildSetup
* while it seemed to work before, BuildSetup was actually adding includes from the default boot platform, before BoardSetup had a chance of changing it.
This commit is contained in:
@@ -88,11 +88,4 @@ if $(HAIKU_BUILD_PROFILE) && ! $(HAIKU_BUILD_PROFILE_DEFINED) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include embedded board-specific file.
|
|
||||||
# UserBuildConfig can override HAIKU_BOOT_BOARD.
|
|
||||||
if $(HAIKU_BOOT_BOARD) {
|
|
||||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) board $(HAIKU_BOOT_BOARD)
|
|
||||||
BoardSetup ] ;
|
|
||||||
}
|
|
||||||
|
|
||||||
PrepareConfigVariables ;
|
PrepareConfigVariables ;
|
||||||
|
|||||||
@@ -293,6 +293,13 @@ switch $(HAIKU_CPU) {
|
|||||||
case * :
|
case * :
|
||||||
Exit "Currently unsupported target CPU:" $(HAIKU_CPU) ;
|
Exit "Currently unsupported target CPU:" $(HAIKU_CPU) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Include embedded board-specific file.
|
||||||
|
if $(HAIKU_BOOT_BOARD) {
|
||||||
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) board $(HAIKU_BOOT_BOARD)
|
||||||
|
BoardSetup ] ;
|
||||||
|
}
|
||||||
|
|
||||||
HAIKU_ARCH ?= $(HAIKU_CPU) ;
|
HAIKU_ARCH ?= $(HAIKU_CPU) ;
|
||||||
HAIKU_ARCH_MACRO_DEFINE = ARCH_$(HAIKU_ARCH) ;
|
HAIKU_ARCH_MACRO_DEFINE = ARCH_$(HAIKU_ARCH) ;
|
||||||
HAIKU_DEFINES += $(HAIKU_ARCH_MACRO_DEFINE) ;
|
HAIKU_DEFINES += $(HAIKU_ARCH_MACRO_DEFINE) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user