tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: config system question



> Date: Tue, 11 Jul 2023 15:36:08 -0700
> From: Phil Nelson <phil%netbsd.org@localhost>
> 
>   I'm working on getting the iwlwifi driver for intel devices into
> the new wifi framework.  In going over the files as named I see
> that there are multiple different files "xxx/tx.c" and "yyy/tx.c".
> Those names would both compile to tx.o in a kernel compile directory.
> I haven't seen any instance with same named files and was wondering
> if the config system has a way to make the .o file name different
> or I need to rename those to something like "xxx/xxx_tx.c" and
> "yyy/yyy_tx.c"?

For drm I renamed them on import with unique prefixes.  See, e.g.,
sys/external/bsd/drm2/nouveau/nouveau2netbsd or
sys/external/bsd/drm2/amdgpu/amdgpu2netbsd.


Home | Main Index | Thread Index | Old Index