[CMAKE][BOOTSECT]

* Improve some inclusions (avoid ../ types).

svn path=/trunk/; revision=65368
This commit is contained in:
Amine Khaldi 2014-11-10 19:21:06 +00:00
parent ef570a4f3f
commit 2bf9800b96
6 changed files with 6 additions and 6 deletions

View file

@ -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]

View file

@ -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]

View file

@ -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)

View file

@ -9,7 +9,7 @@
/* INCLUDES ******************************************************************/
#include <asm.inc>
#include "../freeldr/include/arch/pc/x86common.h"
#include <freeldr/include/arch/pc/x86common.h>
.code16

View file

@ -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(

View file

@ -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")