I have here driver that can be built for two different types of hardware from basically the same sources (this is port of old Agere drivers for Hermes-I/Hermes-II chipsets). Build differs only in one define -DHERMES2 and single file with different firmware. Unfortunately "if HII" are spread over sources which makes splitting of sources rather questionable. What is the best way (from kbuild POV) to build two modules - for H-I and H-II - from the same set of source files? TIA -andrey
Attachment:
signature.asc
Description: This is a digitally signed message part.