linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Building two (external) modules from the same sources
@ 2008-09-29  5:49 Andrey Borzenkov
  2008-10-01  3:19 ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Andrey Borzenkov @ 2008-09-29  5:49 UTC (permalink / raw)
  To: Linux Kernel Mailing List, linux-kbuild

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-02 21:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29  5:49 Building two (external) modules from the same sources Andrey Borzenkov
2008-10-01  3:19 ` Greg KH
2008-10-01 10:13   ` Andrey Borzenkov
     [not found]     ` <1222879229.17264.4.camel@hephaestion>
2008-10-01 20:00       ` Agere Hermes source-code: copyright situation Greg KH
2008-10-01 23:00         ` Dave
2008-10-02  2:37           ` Andrey Borzenkov
2008-10-02 17:44             ` Dave
2008-10-02 20:00             ` Greg KH
2008-10-02 20:31               ` Dan Williams
2008-10-02 20:37                 ` Greg KH
2008-10-02 21:28                   ` Dan Williams
2008-10-01 20:05     ` Building two (external) modules from the same sources Greg KH
2008-10-01 22:27       ` TJ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).