mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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.
14 lines
390 B
CMake
14 lines
390 B
CMake
|
|
include_directories(BEFORE include)
|
|
|
|
list(APPEND SOURCE
|
|
ne2000/8390.c
|
|
ne2000/main.c
|
|
include/ne2000.h)
|
|
|
|
add_library(ne2000 MODULE ${SOURCE} ne2000.rc)
|
|
add_pch(ne2000 include/ne2000.h SOURCE)
|
|
set_module_type(ne2000 kernelmodedriver)
|
|
add_importlibs(ne2000 ndis ntoskrnl hal)
|
|
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)
|
|
add_driver_inf(ne2000 netne.inf)
|