X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=drivers%2Fbus%2Fpci%2FCMakeLists.txt;h=0fe7e241b27f59ae589460210baaeb5668b1db18;hp=e7fa28588fcd2022f5f548926345223a4ccbdbff;hb=e2b7eacdd5678fcce615469f8c0ca90bd3e87f27;hpb=912ce51ae6ce3c5a227eac4e40b0ab092dc3a534 diff --git a/drivers/bus/pci/CMakeLists.txt b/drivers/bus/pci/CMakeLists.txt index e7fa28588fc..0fe7e241b27 100644 --- a/drivers/bus/pci/CMakeLists.txt +++ b/drivers/bus/pci/CMakeLists.txt @@ -1,16 +1,12 @@ - - add_library(pci SHARED fdo.c pci.c pdo.c pci.rc) -set_target_properties(pci PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native" SUFFIX ".sys") - -target_link_libraries(pci - -lntoskrnl - -lhal) +set_module_type(pci kernelmodedriver) +add_importlibs(pci ntoskrnl hal) -add_dependencies(pci psdk bugcodes buildno_header) +add_minicd_target(pci reactos pci.sys) +add_livecd_target(pci reactos/system32/drivers)