mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
32d615fc10
Windows has all its network drivers inf files in 8.3. This is an addendum to 0.4.15-dev-52-g019f21ee1d
which moved us further away from our target. The commit on its own was a good idea actually to get the inf into the drivers directory and therefore simplifies adding and excluding drivers more locally (e.g. excluding works by adding a single hashtag within the specific drivers CMakeLists.txt now). But that cool feature doesn't require us to move away from our target. For the record: The historic netrtpnt.inf and netisa.inf (both 8.3) have been merged to netne2000.inf (not 8.3) by 0.4.15-dev-2763-g6924b8ff39
Unification of that was cool too, but again: 8.3 is superior. Therefore netne.inf for that. Worst of all: Since the .inf files did contain their filename within a comment also, that means the historic renaming by the mentioned commit invalidated that comment. netamd.inf fixed by restoring the ancient filename before 0.4.15-dev-52-g019f21ee1d
netrtl.inf fixed by restoring the ancient filename before 0.4.15-dev-52-g019f21ee1d
netne.inf I fixed the comment manually.
18 lines
437 B
CMake
18 lines
437 B
CMake
|
|
add_definitions(
|
|
-DNDIS50_MINIPORT
|
|
-DNDIS_MINIPORT_DRIVER
|
|
-DNDIS_LEGACY_MINIPORT
|
|
-DNDIS51_MINIPORT)
|
|
|
|
list(APPEND SOURCE
|
|
pcnet.c
|
|
requests.c
|
|
pcnet.h)
|
|
|
|
add_library(pcnet MODULE ${SOURCE} pcnet.rc)
|
|
add_pch(pcnet pcnet.h SOURCE)
|
|
set_module_type(pcnet kernelmodedriver)
|
|
add_importlibs(pcnet ndis ntoskrnl hal)
|
|
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
|
|
add_driver_inf(pcnet netamd.inf)
|