Author: akhaldi
Date: Mon Aug 27 21:24:22 2012
New Revision: 57182
URL:
http://svn.reactos.org/svn/reactos?rev=57182&view=rev
Log:
[HAL]
* Don't compile lib_hal_pic for x64. Brought to you by Hermès Bélusca.
See issue #7309 for more details.
Modified:
trunk/reactos/hal/halx86/CMakeLists.txt
Modified: trunk/reactos/hal/halx86/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/CMakeLists.txt?…
==============================================================================
--- trunk/reactos/hal/halx86/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/CMakeLists.txt [iso-8859-1] Mon Aug 27 21:24:22 2012
@@ -83,18 +83,6 @@
add_library(lib_hal_up OBJECT ${HAL_UP_SOURCE})
endif()
-list(APPEND HAL_PIC_SOURCE
- generic/profil.c
- generic/timer.c
- generic/systimer.S
- generic/trap.S
- up/halinit_up.c
- up/pic.c)
-
-if(CMAKE_VERSION VERSION_GREATER 2.8.7)
- add_library(lib_hal_pic OBJECT ${HAL_PIC_SOURCE})
-endif()
-
list(APPEND HAL_APIC_SOURCE
apic/apic.c
apic/apictimer.c
@@ -105,6 +93,18 @@
apic/tsccal.S)
if(ARCH STREQUAL "i386")
+ list(APPEND HAL_PIC_SOURCE
+ generic/profil.c
+ generic/timer.c
+ generic/systimer.S
+ generic/trap.S
+ up/halinit_up.c
+ up/pic.c)
+
+ if(CMAKE_VERSION VERSION_GREATER 2.8.7)
+ add_library(lib_hal_pic OBJECT ${HAL_PIC_SOURCE})
+ endif()
+
list(APPEND MINI_HAL_SOURCE
generic/portio.c
generic/systimer.S