2013-03-23 21:15:28 +00:00
|
|
|
|
|
|
|
list(APPEND HAL_LEGACY_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)
|
|
|
|
|
|
|
|
add_object_library(lib_hal_legacy ${HAL_LEGACY_SOURCE})
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(lib_hal_legacy bugcodes xdk)
|
2013-03-23 21:15:28 +00:00
|
|
|
#add_pch(lib_hal_legacy include/hal.h)
|
|
|
|
|
2013-09-20 10:26:05 +00:00
|
|
|
if(MSVC)
|
2013-03-23 21:15:28 +00:00
|
|
|
target_link_libraries(lib_hal_legacy lib_hal_generic)
|
|
|
|
endif()
|