mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[CMAKE][BOOTSECT]
* Improve some inclusions (avoid ../ types). svn path=/trunk/; revision=65368
This commit is contained in:
parent
ef570a4f3f
commit
2bf9800b96
|
@ -39,7 +39,7 @@
|
|||
// boots dramatically.
|
||||
|
||||
#include <asm.inc>
|
||||
#include "../freeldr/include/arch/pc/x86common.h"
|
||||
#include <freeldr/include/arch/pc/x86common.h>
|
||||
|
||||
#define BP_REL(x) [bp+x-offset start]
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <asm.inc>
|
||||
#include "../freeldr/include/arch/pc/x86common.h"
|
||||
#include <freeldr/include/arch/pc/x86common.h>
|
||||
|
||||
#define BP_REL(x) [bp+x-offset start]
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <asm.inc>
|
||||
#include "../freeldr/include/arch/pc/x86common.h"
|
||||
#include <freeldr/include/arch/pc/x86common.h>
|
||||
|
||||
#define ADDRESS_FOR_DIRENTRIES HEX(10000)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <asm.inc>
|
||||
#include "../freeldr/include/arch/pc/x86common.h"
|
||||
#include <freeldr/include/arch/pc/x86common.h>
|
||||
|
||||
.code16
|
||||
|
||||
|
|
|
@ -404,7 +404,7 @@ function(CreateBootSectorTarget _target_name _asm_file _binary_file _base_addres
|
|||
|
||||
add_custom_command(
|
||||
OUTPUT ${_object_file}
|
||||
COMMAND ${CMAKE_ASM_COMPILER} -x assembler-with-cpp -o ${_object_file} -I${REACTOS_SOURCE_DIR}/include/asm -I${REACTOS_BINARY_DIR}/include/asm -D__ASM__ -c ${_asm_file}
|
||||
COMMAND ${CMAKE_ASM_COMPILER} -x assembler-with-cpp -o ${_object_file} -I${REACTOS_SOURCE_DIR}/include/asm -I${REACTOS_BINARY_DIR}/include/asm -I${REACTOS_SOURCE_DIR}/boot/freeldr -D__ASM__ -c ${_asm_file}
|
||||
DEPENDS ${_asm_file})
|
||||
|
||||
add_custom_command(
|
||||
|
|
|
@ -367,7 +367,7 @@ function(CreateBootSectorTarget _target_name _asm_file _binary_file _base_addres
|
|||
|
||||
add_custom_command(
|
||||
OUTPUT ${_temp_file}
|
||||
COMMAND ${CMAKE_C_COMPILER} /nologo /X /I${REACTOS_SOURCE_DIR}/include/asm /I${REACTOS_BINARY_DIR}/include/asm /D__ASM__ /D_USE_ML /EP /c ${_asm_file} > ${_temp_file}
|
||||
COMMAND ${CMAKE_C_COMPILER} /nologo /X /I${REACTOS_SOURCE_DIR}/include/asm /I${REACTOS_BINARY_DIR}/include/asm /I${REACTOS_SOURCE_DIR}/boot/freeldr /D__ASM__ /D_USE_ML /EP /c ${_asm_file} > ${_temp_file}
|
||||
DEPENDS ${_asm_file})
|
||||
|
||||
if(ARCH STREQUAL "arm")
|
||||
|
|
Loading…
Reference in a new issue