[lkml]   [2003]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [PATCH] mkdep patch in 2.4.21-pre4-ac7 breaks pci/drivers

> This patch has been tested and works for me. How to test:

I'm terribly sorry, my testing was incorrect (I was looking at a wrong
window). One more change needs to be done. Since name.o becomes the
first rule, it becomes the default rule instead of driver.o, which is not

The trick (already used in drivers/net/hamradio/soundmodem/Makefile) is to
define the first rule as

all: all_targets

Fixed patch:

--- linux.orig/drivers/pci/Makefile
+++ linux/drivers/pci/Makefile
@@ -35,10 +35,11 @@
obj-y += syscall.o

-include $(TOPDIR)/Rules.make
+all: all_targets
names.o: names.c devlist.h classlist.h

+include $(TOPDIR)/Rules.make
devlist.h classlist.h: pci.ids gen-devlist
./gen-devlist <pci.ids

This patch was tested all the way to "make install" and reboot.

Pavel Roskin
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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