build system cosmetics: backends reordered

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1608 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-11 17:09:56 +00:00
parent ec83ecd645
commit a77a2aa55f
2 changed files with 13 additions and 13 deletions

View File

@ -26,10 +26,10 @@ SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
#### Compiler configuration, see cmake/compilerconfig.cmake #### Compiler configuration, see cmake/compilerconfig.cmake
include(compilerconfig) include(compilerconfig)
#### #OPTION to configure Bochs/OVP #### #### Backend selection ####
OPTION( BUILD_OVP "Build OVP Variant?" OFF) # Defaults to BOCHS ON
OPTION( BUILD_GEM5 "Build gem5 Variant?" OFF)
OPTION( BUILD_BOCHS "Build Bochs Variant?" ON) OPTION( BUILD_BOCHS "Build Bochs Variant?" ON)
OPTION( BUILD_GEM5 "Build gem5 Variant?" OFF)
OPTION( BUILD_OVP "Build OVP Variant?" OFF)
if(BUILD_BOCHS) if(BUILD_BOCHS)
## add necessary additional header search paths. ## add necessary additional header search paths.

View File

@ -9,16 +9,6 @@ if(BUILD_BOCHS)
bochs/BochsController.cc bochs/BochsController.cc
bochs/BochsListener.cc bochs/BochsListener.cc
) )
elseif(BUILD_OVP)
set(SRCS
BufferCache.cc
Listener.cc
ListenerManager.cc
SALConfig.cc
Register.cc
SimulatorController.cc
${VARIANT}/OVPController.cc
)
elseif(BUILD_GEM5) elseif(BUILD_GEM5)
set(SRCS set(SRCS
BufferCache.cc BufferCache.cc
@ -31,6 +21,16 @@ elseif(BUILD_GEM5)
gem5/Gem5Listener.cc gem5/Gem5Listener.cc
gem5/Gem5PCEvent.cc gem5/Gem5PCEvent.cc
) )
elseif(BUILD_OVP)
set(SRCS
BufferCache.cc
Listener.cc
ListenerManager.cc
SALConfig.cc
Register.cc
SimulatorController.cc
${VARIANT}/OVPController.cc
)
endif(BUILD_BOCHS) endif(BUILD_BOCHS)
add_library(sal ${SRCS}) add_library(sal ${SRCS})