- Add asm dependencies to freeldr, ntdll, crt
- Add importlib for hal and ntoskrnl
- Fix ntoskrnl spec file
- Fix resource pathes in ntoskrnl.rc

svn path=/branches/cmake-bringup/; revision=49645
This commit is contained in:
Timo Kreuzer 2010-11-19 22:02:33 +00:00
parent 5312a38c2f
commit 8b7d047834
7 changed files with 23 additions and 20 deletions

View file

@ -200,7 +200,7 @@ target_link_libraries(freeldr
rtl rtl
libcntpr) libcntpr)
add_pch(freeldr ${CMAKE_CURRENT_SOURCE_DIR}/freeldr/freeldr/include/freeldr.h ${FREELDR_SOURCE}) add_pch(freeldr ${CMAKE_CURRENT_SOURCE_DIR}/freeldr/freeldr/include/freeldr.h ${FREELDR_SOURCE})
add_dependencies(freeldr ks386) add_dependencies(freeldr asm)
list(APPEND SETUPLDR_SOURCE list(APPEND SETUPLDR_SOURCE
${FREELDR_STARTUP_SOURCE} ${FREELDR_STARTUP_SOURCE}
@ -232,7 +232,7 @@ target_link_libraries(setupldr
rtl rtl
libcntpr) libcntpr)
add_dependencies(setupldr ks386) add_dependencies(setupldr asm)
# Bootcd files # Bootcd files
add_minicd_target(setupldr loader setupldr.sys) add_minicd_target(setupldr loader setupldr.sys)

View file

@ -51,7 +51,7 @@ target_link_libraries(ntdll
${PSEH_LIB}) ${PSEH_LIB})
add_pch(ntdll ${CMAKE_CURRENT_SOURCE_DIR}/include/ntdll.h ${SOURCE}) add_pch(ntdll ${CMAKE_CURRENT_SOURCE_DIR}/include/ntdll.h ${SOURCE})
add_dependencies(ntdll ntstatus) add_dependencies(ntdll ntstatus asm)
add_minicd_target(ntdll reactos/system32 ntdll.dll) add_minicd_target(ntdll reactos/system32 ntdll.dll)
add_cab_target(ntdll 1) add_cab_target(ntdll 1)

View file

@ -105,3 +105,5 @@ add_livecd_target(hal reactos/system32)
else() else()
#TBD #TBD
endif(ARCH MATCHES i386) endif(ARCH MATCHES i386)
add_importlib_target(hal.spec)

View file

@ -413,7 +413,7 @@ add_library(crt ${CMAKE_CURRENT_BINARY_DIR}/crt_precomp.h.gch ${CRT_SOURCE})
set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT) set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT)
add_pch(crt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${CRT_SOURCE}) add_pch(crt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${CRT_SOURCE})
add_dependencies(crt psdk buildno_header ks386) add_dependencies(crt psdk buildno_header asm)
list(APPEND LIBCNTPR_SOURCE list(APPEND LIBCNTPR_SOURCE
except/${ARCH}/chkstk_asm.s except/${ARCH}/chkstk_asm.s

View file

@ -426,7 +426,8 @@ add_importlibs(ntoskrnl hal kdcom bootvid)
add_pch(ntoskrnl ${CMAKE_CURRENT_SOURCE_DIR}/include/ntoskrnl.h ${SOURCE}) add_pch(ntoskrnl ${CMAKE_CURRENT_SOURCE_DIR}/include/ntoskrnl.h ${SOURCE})
set_source_files_properties(${REACTOS_BINARY_DIR}/ntoskrnl/ex/zw.S PROPERTIES GENERATED TRUE) set_source_files_properties(${REACTOS_BINARY_DIR}/ntoskrnl/ex/zw.S PROPERTIES GENERATED TRUE)
add_dependencies(ntoskrnl psdk bugcodes kernel_zw kernel_napi) add_dependencies(ntoskrnl psdk bugcodes kernel_zw kernel_napi asm)
add_minicd_target(ntoskrnl reactos ntoskrnl.exe) add_minicd_target(ntoskrnl reactos ntoskrnl.exe)
add_livecd_target(ntoskrnl reactos/system32) add_livecd_target(ntoskrnl reactos/system32)
add_importlib_target(ntoskrnl.spec)

View file

@ -23,20 +23,20 @@
#endif #endif
#define VER_LANGNEUTRAL #define VER_LANGNEUTRAL
#include "common.ver" #include "common.ver"
#include "resource.h" #include "include/resource.h"
// //
// Bug Codes and Bitmaps // Bug Codes and Bitmaps
// //
#include "bugcodes.rc" #include "bugcodes.rc"
IDB_BOOT_LOGO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/1.bmp" IDB_BOOT_LOGO BITMAP DISCARDABLE "inbv/logo/1.bmp"
IDB_HIBERNATE_LOGO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/2.bmp" IDB_HIBERNATE_LOGO BITMAP DISCARDABLE "inbv/logo/2.bmp"
IDB_SHUTDOWN_LOGO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/3.bmp" IDB_SHUTDOWN_LOGO BITMAP DISCARDABLE "inbv/logo/3.bmp"
IDB_BAR_SERVER BITMAP DISCARDABLE "ntoskrnl/inbv/logo/4.bmp" IDB_BAR_SERVER BITMAP DISCARDABLE "inbv/logo/4.bmp"
IDB_LOGO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/5.bmp" IDB_LOGO BITMAP DISCARDABLE "inbv/logo/5.bmp"
IDB_LOGO_HEADER BITMAP DISCARDABLE "ntoskrnl/inbv/logo/6.bmp" IDB_LOGO_HEADER BITMAP DISCARDABLE "inbv/logo/6.bmp"
IDB_LOGO_BAND BITMAP DISCARDABLE "ntoskrnl/inbv/logo/7.bmp" IDB_LOGO_BAND BITMAP DISCARDABLE "inbv/logo/7.bmp"
IDB_BAR_PRO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/8.bmp" IDB_BAR_PRO BITMAP DISCARDABLE "inbv/logo/8.bmp"
IDB_SERVER_LOGO BITMAP DISCARDABLE "ntoskrnl/inbv/logo/5.bmp" IDB_SERVER_LOGO BITMAP DISCARDABLE "inbv/logo/5.bmp"
IDB_SERVER_HEADER BITMAP DISCARDABLE "ntoskrnl/inbv/logo/14.bmp" IDB_SERVER_HEADER BITMAP DISCARDABLE "inbv/logo/14.bmp"
IDB_SERVER_BAND BITMAP DISCARDABLE "ntoskrnl/inbv/logo/15.bmp" IDB_SERVER_BAND BITMAP DISCARDABLE "inbv/logo/15.bmp"

View file

@ -700,7 +700,7 @@
@ fastcall KefAcquireSpinLockAtDpcLevel(ptr) @ fastcall KefAcquireSpinLockAtDpcLevel(ptr)
@ fastcall KefReleaseSpinLockFromDpcLevel(ptr) @ fastcall KefReleaseSpinLockFromDpcLevel(ptr)
@ stdcall -arch=i386 Kei386EoiHelper() @ stdcall -arch=i386 Kei386EoiHelper()
@ fastcall -arch=i386 KiEoiHelper(ptr) /* FIXME: Evaluate decision */ @ fastcall -arch=i386 KiEoiHelper(ptr)
@ fastcall KiAcquireSpinLock(ptr) @ fastcall KiAcquireSpinLock(ptr)
@ extern KiBugCheckData @ extern KiBugCheckData
@ stdcall KiCheckForKernelApcDelivery() @ stdcall KiCheckForKernelApcDelivery()