[ros-diffs] [akhaldi] 48672: [CMAKE] - Add mini_hal to build.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Tue Aug 31 23:48:27 UTC 2010


Author: akhaldi
Date: Tue Aug 31 23:48:26 2010
New Revision: 48672

URL: http://svn.reactos.org/svn/reactos?rev=48672&view=rev
Log:
[CMAKE]
- Add mini_hal to build.

Modified:
    branches/cmake-bringup/hal/CMakeLists.txt

Modified: branches/cmake-bringup/hal/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/hal/CMakeLists.txt?rev=48672&r1=48671&r2=48672&view=diff
==============================================================================
--- branches/cmake-bringup/hal/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/hal/CMakeLists.txt [iso-8859-1] Tue Aug 31 23:48:26 2010
@@ -67,6 +67,41 @@
     ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
     libcntpr)
 
+list(APPEND MINI_HAL_SOURCE
+    halx86/generic/legacy/bus/bushndlr.c
+    halx86/generic/legacy/bus/cmosbus.c
+    halx86/generic/legacy/bus/isabus.c
+    halx86/generic/legacy/bus/pcibus.c
+    halx86/generic/legacy/bus/pcidata.c
+    halx86/generic/legacy/bus/sysbus.c
+    halx86/generic/legacy/bussupp.c
+    halx86/generic/beep.c
+    halx86/generic/bios.c
+    halx86/generic/cmos.c
+    halx86/generic/dma.c
+    halx86/generic/display.c
+    halx86/generic/drive.c
+    halx86/generic/misc.c
+    halx86/generic/profil.c
+    halx86/generic/reboot.c
+    halx86/generic/spinlock.c
+    halx86/generic/sysinfo.c
+    halx86/generic/timer.c
+    halx86/generic/usage.c
+    halx86/up/halinit_up.c
+    halx86/up/pic.c
+    halx86/up/processor.c)
+
+if(ARCH MATCHES i386)
+list(APPEND MINI_HAL_SOURCE
+    halx86/generic/i386/portio.c
+    halx86/generic/i386/systimer.S)
+endif(ARCH MATCHES i386)
+
+add_library(mini_hal ${MINI_HAL_SOURCE})
+set_property(TARGET mini_hal PROPERTY COMPILE_DEFINITIONS _BLDR_ _MINIHAL_)
+add_dependencies(mini_hal psdk bugcodes)
+
 else()
 #TBD
 endif(ARCH MATCHES i386)




More information about the Ros-diffs mailing list