Linux MIPS Architecture development
 help / color / mirror / Atom feed
* IDE module problem
@ 2002-12-09 19:58 Jun Sun
  2002-12-11 13:21 ` Maciej W. Rozycki
  0 siblings, 1 reply; 7+ messages in thread
From: Jun Sun @ 2002-12-09 19:58 UTC (permalink / raw)
  To: linux-mips; +Cc: jsun


If you configure IDE support as a module (CONFIG_IDE), you
will soon find that ide-std.o and ide-no.o are missing.
This is because arch/mips/lib/Makefile says:

obj-$(CONFIG_IDE)               += ide-std.o ide-no.o


Here are the possible fixes.  I'd like to hear your feedbacks.

1) change config-shared.in file so that CONFIG_IDE only
has a binary state (y or n)

2) change Makefile so that ide-std.o and ide-no.o are always
included.  Waste about 1K for systems don't use them at all.

3) use some smart trick in Makefile so that we include those
two files only if CONFIG_IDE is 'y' or 'm'.  (How?)

Jun

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

end of thread, other threads:[~2002-12-17  2:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 19:58 IDE module problem Jun Sun
2002-12-11 13:21 ` Maciej W. Rozycki
2002-12-11 16:49   ` Jun Sun
2002-12-11 17:20     ` Maciej W. Rozycki
2002-12-12  2:56       ` Keith Owens
2002-12-17  2:20         ` Jun Sun
2002-12-17  2:25           ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox