public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.19-pre6 dead Makefile entries
@ 2002-04-07 11:01 Keith Owens
  2002-04-07 11:11 ` Russell King
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Keith Owens @ 2002-04-07 11:01 UTC (permalink / raw)
  To: linux-kernel

The more rigorous error checking in kbuild 2.5 found several Makefile
entries for objects that have no source.   kbuild 2.4 silently ignores
objects that it cannot build, allowing errors to sneak through.

These are typing errors or they are dead entries.  In either case they
need to be cleaned up, by removing the entry from the Makefile or by
supplying the missing source.  After removing the entries, also verify
if the CONFIG_ entry is still required and remove that as well if it is
obsolete.

Makefile			Object with no source

drivers/acorn/char/Makefile     keyb_l7200.o

drivers/acpi/Makefile           osconf.o

drivers/char/Makefile           serial_sa1100.o

drivers/ide/Makefile            pdcadma.o

drivers/isdn/Makefile           isdn_dwabc.o

drivers/net/Makefile            veth.o

drivers/usb/storage/Makefile    shuttle_sm.o
                                shuttle_cf.o

drivers/video/Makefile          dcfb.o
                                fbcon-iplan2p16.o

fs/nls/Makefile                 nls_cp1252.o
                                nls_cp1253.o
                                nls_cp1254.o
                                nls_cp1256.o
                                nls_cp1257.o
                                nls_cp1258.o
                                nls_iso8859_10.o
                                nls_abc.o

lib/Makefile                    crc32.o

net/decnet/Makefile             dn_fw.o

net/sched/Makefile              sch_hpfq.o
                                sch_hfsc.o


^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: 2.4.19-pre6 dead Makefile entries
@ 2002-04-07 17:52 Matt_Domsch
  2002-04-07 23:41 ` Keith Owens
  0 siblings, 1 reply; 9+ messages in thread
From: Matt_Domsch @ 2002-04-07 17:52 UTC (permalink / raw)
  To: kaos, rmk; +Cc: linux-kernel

> >On Sun, Apr 07, 2002 at 09:01:39PM +1000, Keith Owens wrote:
> >> lib/Makefile                    crc32.o
> >
> >crc32.c seems to exist in linux/lib/ in 2.5.7 and 2.5.8-pre2
> 
> But not in 2.4.19-pre6.  Given an object which has no source, it could
> be dead, a typing error or a placeholder for future work.  There is no
> way to tell which, most are dead entries.
> 
> I don't object to placeholder entries ("will be back ported from 2.5
> one day" or "is only used in ia64") as long as they are commented out
> until the source also exists.  In this case, crc32 is 
> required for ia64
> on 2.4 kernels and we have a broken merge.  The Makefile was updated
> from the ia64 patch but the source was not.  In 2.5 everybody uses
> crc32.  Best fix is to delete crc32 from 2.4 Makefiles and add it only
> in the ia64 patch.

Per Jeff Garzik's request, 2.4.19-pre2 included the 2.4 kernel crc32
cleanups, which did not add a lib/crc32.c, but made the crc32 functions
static inline in include/linux/crc32.h.

Until this past week, the 2.4.x IA-64 port patch was adding
lib/{crc32.c,Makefile}.  I provided David Mosberger (and he has since
merged) a new patch for fs/partitions/efi.[ch] which has essentially the 2.5
crc32 code in there, and no longer touches include/linux/crc32.h or
lib/crc32.c.  In that patch I neglected to delete lib/crc32.c and remove
stuff from lib/Makefile for it, though I did tell David that he could delete
lib/crc32.c and include/linux/crc32.h from his patch entirely.

For now in 2.4.x, please simply remove the crc32 lines from lib/Makefile.
IA-64 doesn't need them anymore.
At some point, if someone wants to backport the 2.5.x crc32 library code,
that'd be fine by me.  Marcelo didn't want any changes that could cause
instability in 2.4.x, so that's the way it's been done.

Thanks,
Matt

-- 
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001! (IDC Mar 2002)

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

end of thread, other threads:[~2002-04-09  0:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-07 11:01 2.4.19-pre6 dead Makefile entries Keith Owens
2002-04-07 11:11 ` Russell King
2002-04-07 11:26   ` Keith Owens
2002-04-07 13:52 ` [patch] " Urban Widmark
2002-04-07 20:55   ` James H. Cloos Jr.
2002-04-08  8:46     ` Urban Widmark
2002-04-09  0:04 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2002-04-07 17:52 Matt_Domsch
2002-04-07 23:41 ` Keith Owens

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