[NTKRNLMP]

* Properly set the exports to refer to ntkrnlmp.exe instead of ntoskrnl.exe.

svn path=/trunk/; revision=56343
This commit is contained in:
Amine Khaldi
2012-04-13 21:35:00 +00:00
parent 4ef8986a9a
commit b4d5aaed08
+10 -4
View File
@@ -273,8 +273,7 @@ list(APPEND SOURCE
se/token.c
vf/driver.c
wmi/wmi.c
ntoskrnl.rc
${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
ntoskrnl.rc)
if(ARCH MATCHES i386)
list(APPEND SOURCE
@@ -423,7 +422,9 @@ else() # _WINKD_
endif()
add_executable(ntoskrnl ${SOURCE})
add_executable(ntoskrnl
${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
if (ARCH MATCHES i386)
set_entrypoint(ntoskrnl KiSystemStartup 4)
@@ -462,7 +463,12 @@ add_dependencies(ntoskrnl psdk bugcodes asm)
add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB FOR all)
if(BUILD_MP)
add_executable(ntkrnlmp ${SOURCE})
spec2def(ntkrnlmp.exe ntoskrnl.spec)
add_executable(ntkrnlmp
${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/ntkrnlmp.def)
add_target_compile_definitions(ntkrnlmp CONFIG_SMP)
if(ARCH MATCHES i386)