lkml.org 
[lkml]   [2001]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fixes to top-level Makefile (-pre3)


On Thu, 17 May 2001, Kai Germaschewski wrote:

> This part is not necessary. The ordering of subdir-y only has to do with
> compilation ordering, not with link order. The link order for
> drivers/char/* is set explicitly in the toplevel Makefile.

Oh, crap. Right you are. OK, but it means that we need to change
toplevel Makefile to handle the changes done in -pre3. Thanks for spotting.

Linus, could you please apply the following? That's _not_ for
i2c - this is what I ought to do in the patches that went into -pre3
instead of changing the order in drivers/Makefile.

Self-LART applied.
Al

--- 2.4.5-pre3/Makefile Wed May 16 16:26:31 2001
+++ linux-test/Makefile Thu May 17 06:47:44 2001
@@ -118,11 +118,7 @@

CORE_FILES =kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o
NETWORKS =net/network.o
-DRIVERS =drivers/block/block.o \
- drivers/char/char.o \
- drivers/misc/misc.o \
- drivers/net/net.o \
- drivers/media/media.o
+
LIBS =$(TOPDIR)/lib/lib.a
SUBDIRS =kernel drivers mm fs net ipc lib

@@ -132,6 +128,11 @@
DRIVERS- :=

DRIVERS-$(CONFIG_PARPORT) += drivers/parport/driver.o
+DRIVERS-y += drivers/char/char.o \
+ drivers/block/block.o \
+ drivers/misc/misc.o \
+ drivers/net/net.o \
+ drivers/media/media.o
DRIVERS-$(CONFIG_AGP) += drivers/char/agp/agp.o
DRIVERS-$(CONFIG_DRM) += drivers/char/drm/drm.o
DRIVERS-$(CONFIG_NUBUS) += drivers/nubus/nubus.a
@@ -177,7 +178,7 @@
DRIVERS-$(CONFIG_ACPI) += drivers/acpi/acpi.o
DRIVERS-$(CONFIG_MD) += drivers/md/mddev.o

-DRIVERS += $(DRIVERS-y)
+DRIVERS := $(DRIVERS-y)


# files removed with 'make clean'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.191 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site