mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
5d57e39655
- Create xbox.cmake based on legacy.cmake and pic.cmake - Revive Xbox HAL files and add them to the build - Fix boot with Xbox HAL, add missing parts from halinit_up.c - Code style and debug logging improvements in pcibus.c - Allow to choose Xbox HAL in usetup CORE-16216
35 lines
883 B
CMake
35 lines
883 B
CMake
|
|
list(APPEND HAL_XBOX_ASM_SOURCE
|
|
generic/systimer.S
|
|
generic/trap.S
|
|
up/pic.S)
|
|
|
|
list(APPEND HAL_XBOX_SOURCE
|
|
legacy/bus/bushndlr.c
|
|
legacy/bus/cmosbus.c
|
|
legacy/bus/isabus.c
|
|
legacy/bus/pcibus.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c
|
|
legacy/bus/sysbus.c
|
|
legacy/bussupp.c
|
|
legacy/halpnpdd.c
|
|
legacy/halpcat.c
|
|
generic/profil.c
|
|
generic/timer.c
|
|
xbox/part_xbox.c
|
|
xbox/halinit_xbox.c
|
|
up/pic.c)
|
|
|
|
add_asm_files(lib_hal_xbox_asm ${HAL_XBOX_ASM_SOURCE})
|
|
add_object_library(lib_hal_xbox ${HAL_XBOX_SOURCE} ${lib_hal_xbox_asm})
|
|
if(NOT SARCH STREQUAL "xbox")
|
|
add_target_compile_definitions(lib_hal_xbox SARCH_XBOX)
|
|
endif()
|
|
add_dependencies(lib_hal_xbox bugcodes xdk asm)
|
|
#add_pch(lib_hal_xbox xbox/halxbox.h)
|
|
|
|
if(MSVC)
|
|
target_link_libraries(lib_hal_xbox lib_hal_generic)
|
|
endif()
|