Include architecture-specific code in VBR

This commit is contained in:
2025-10-17 09:12:54 +02:00
parent 764fec4d75
commit 4f4df52d3d
3 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
# XT Boot Sector
PROJECT(BOOTSECT)
add_definitions("-DARCH_ESP_SOURCE=\\\"${ARCH}/cpu.S\\\"")
# Compile boot sectors
compile_bootsector(mbrboot ${BOOTSECT_SOURCE_DIR}/mbrboot.S 0x7C00 Start)
compile_bootsector(espboot ${BOOTSECT_SOURCE_DIR}/espboot.S 0x7C00 Start)