Author: akhaldi
Date: Sun Sep 12 21:02:18 2010
New Revision: 48762
URL:
http://svn.reactos.org/svn/reactos?rev=48762&view=rev
Log:
[CMAKE]
- Improve bootvid, crt and ntoskrnl.
Modified:
branches/cmake-bringup/drivers/base/bootvid/CMakeLists.txt
branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
branches/cmake-bringup/ntoskrnl/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/base/bootvid/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/base/boot…
==============================================================================
--- branches/cmake-bringup/drivers/base/bootvid/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/base/bootvid/CMakeLists.txt [iso-8859-1] Sun Sep 12
21:02:18 2010
@@ -3,14 +3,18 @@
spec2def(bootvid ${CMAKE_CURRENT_SOURCE_DIR}/bootvid.spec
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
+list(APPEND SOURCE bootvid.rc)
+
+if(ARCH MATCHES i386 OR ARCH MATCHES amd64)
list(APPEND SOURCE
- ${ARCH}/bootvid.c
- ${ARCH}/bootdata.c
- bootvid.rc)
-
-if(ARCH MATCHES i386)
-list(APPEND SOURCE i386/vga.c)
-endif(ARCH MATCHES i386)
+ i386/bootvid.c
+ i386/bootdata.c
+ i386/vga.c)
+elseif(ARCH MATCHES arm)
+list(APPEND SOURCE
+ arm/bootvid.c
+ arm/bootdata.c)
+endif(ARCH MATCHES i386 OR ARCH MATCHES amd64)
add_library(bootvid SHARED ${CMAKE_CURRENT_BINARY_DIR}/bootvid_precomp.h.gch ${SOURCE})
Modified: branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/crt/CMake…
==============================================================================
--- branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/crt/CMakeLists.txt [iso-8859-1] Sun Sep 12 21:02:18
2010
@@ -40,11 +40,6 @@
float/isnan.c
float/nafter.c
float/scalb.c
- float/${ARCH}/clearfp.c
- float/${ARCH}/cntrlfp.c
- float/${ARCH}/fpreset.c
- float/${ARCH}/logb.c
- float/${ARCH}/statfp.c
locale/locale.c
math/acos.c
math/adjust.c
@@ -287,9 +282,23 @@
wine/undname.c)
if(ARCH MATCHES i386)
-list(APPEND CRT_SOURCE except/i386/prolog.s except/i386/unwind.c)
+list(APPEND CRT_SOURCE
+ except/i386/chkstk_asm.s
+ except/i386/prolog.s
+ except/i386/unwind.c
+ float/i386/clearfp.c
+ float/i386/cntrlfp.c
+ float/i386/fpreset.c
+ float/i386/logb.c
+ float/i386/statfp.c)
elseif(ARCH MATCHES amd64)
-list(APPEND CRT_SOURCE chkstk_asm.s)
+list(APPEND CRT_SOURCE
+ except/amd64/chkstk_asm.s
+ float/i386/clearfp.c
+ float/i386/cntrlfp.c
+ float/i386/fpreset.c
+ float/i386/logb.c
+ float/i386/statfp.c)
endif(ARCH MATCHES i386)
if(ARCH MATCHES i386)
Modified: branches/cmake-bringup/ntoskrnl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/CMakeLis…
==============================================================================
--- branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] Sun Sep 12 21:02:18 2010
@@ -23,7 +23,6 @@
cc/mdl.c
cc/pin.c
cc/view.c
- config/${ARCH}/cmhardwr.c
config/cmalloc.c
config/cmapi.c
config/cmboot.c
@@ -251,6 +250,7 @@
if(ARCH MATCHES i386)
list(APPEND SOURCE
+ config/i386/cmhardwr.c
ex/i386/interlck_asm.S
ex/i386/fastinterlck_asm.S
ex/i386/ioport.S
@@ -280,6 +280,7 @@
vdm/vdmexec.c)
elseif(ARCH MATCHES amd64)
list(APPEND SOURCE
+ config/i386/cmhardwr.c
ex/amd64/fastinterlck.c
ke/amd64/boot.S
ke/amd64/context.c
@@ -298,6 +299,7 @@
ps/amd64/psctx.c)
elseif(ARCH MATCHES arm)
list(APPEND SOURCE
+ config/arm/cmhardwr.c
ke/arm/boot.s
ke/arm/cpu.c
ke/arm/ctxswtch.s
@@ -314,6 +316,7 @@
rtl/arm/rtlexcpt.c)
elseif(ARCH MATCHES powerpc)
list(APPEND SOURCE
+ config/powerpc/cmhardwr.c
ke/powerpc/main_asm.S
ke/powerpc/cpu.c
ke/powerpc/exp.c