public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* rwsem.o listed twice as export-objs
@ 2001-04-20 19:53 Ingo Oeser
  2001-04-21 16:06 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Oeser @ 2001-04-20 19:53 UTC (permalink / raw)
  To: David Howells; +Cc: linux-kernel

Hi David,

please remove rwsem.o from the list of exported objects, if it is
not used.

Regards

Ingo Oeser

patch is as follows

--- lib/Makefile.orig   Fri Apr 20 21:51:12 2001
+++ lib/Makefile        Fri Apr 20 21:51:19 2001
@@ -8,7 +8,7 @@

 L_TARGET := lib.a

-export-objs := cmdline.o rwsem.o
+export-objs := cmdline.o

 obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o bust_spinlocks.o

-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
         <<<<<<<<<<<<     been there and had much fun   >>>>>>>>>>>>

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

* Re: rwsem.o listed twice as export-objs
  2001-04-20 19:53 rwsem.o listed twice as export-objs Ingo Oeser
@ 2001-04-21 16:06 ` Christoph Hellwig
  2001-04-21 18:18   ` Ingo Oeser
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2001-04-21 16:06 UTC (permalink / raw)
  To: Ingo Oeser; +Cc: linux-kernel, David Howells

In article <20010420215330.N682@nightmaster.csn.tu-chemnitz.de> you wrote:
> Hi David,
>
> please remove rwsem.o from the list of exported objects, if it is
> not used.

No!  The whole point of 'export-objs' is to _always_ list the objects there
to make the makefiles smaller and cleaner.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.

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

* Re: rwsem.o listed twice as export-objs
  2001-04-21 16:06 ` Christoph Hellwig
@ 2001-04-21 18:18   ` Ingo Oeser
  2001-04-22 11:56     ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Ingo Oeser @ 2001-04-21 18:18 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel, David Howells

On Sat, Apr 21, 2001 at 06:06:34PM +0200, Christoph Hellwig wrote:
> In article <20010420215330.N682@nightmaster.csn.tu-chemnitz.de> you wrote:
> > please remove rwsem.o from the list of exported objects, if it is
> > not used.
> 
> No!  The whole point of 'export-objs' is to _always_ list the objects there
> to make the makefiles smaller and cleaner.

Ok, so this patch is better?

--- linux/lib/Makefile.orig       Sat Apr 21 20:15:00 2001
+++ linux/lib/Makefile    Sat Apr 21 20:14:37 2001
@@ -8,12 +8,11 @@

 L_TARGET := lib.a

 export-objs := cmdline.o rwsem.o

 obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o bust_spinlocks.o

 ifneq ($(CONFIG_RWSEM_GENERIC_SPINLOCK)$(CONFIG_RWSEM_XCHGADD_ALGORITHM),nn)
-export-objs += rwsem.o
 obj-y += rwsem.o
 endif



Because any of the solutions should be applied, because rwsem.o
is listed twice currently, which gives a warning at compile time.

Regards

Ingo Oeser
-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
         <<<<<<<<<<<<     been there and had much fun   >>>>>>>>>>>>

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

* Re: rwsem.o listed twice as export-objs
  2001-04-21 18:18   ` Ingo Oeser
@ 2001-04-22 11:56     ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2001-04-22 11:56 UTC (permalink / raw)
  To: Ingo Oeser; +Cc: linux-kernel, David Howells

On Sat, Apr 21, 2001 at 08:18:15PM +0200, Ingo Oeser wrote:
> On Sat, Apr 21, 2001 at 06:06:34PM +0200, Christoph Hellwig wrote:
> > In article <20010420215330.N682@nightmaster.csn.tu-chemnitz.de> you wrote:
> > > please remove rwsem.o from the list of exported objects, if it is
> > > not used.
> > 
> > No!  The whole point of 'export-objs' is to _always_ list the objects there
> > to make the makefiles smaller and cleaner.
> 
> Ok, so this patch is better?

Yes.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.

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

end of thread, other threads:[~2001-04-22 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-20 19:53 rwsem.o listed twice as export-objs Ingo Oeser
2001-04-21 16:06 ` Christoph Hellwig
2001-04-21 18:18   ` Ingo Oeser
2001-04-22 11:56     ` Christoph Hellwig

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