> It seems that with that patch applied it doesn't build anymore
> w/o separate object directory:

Ouch, I've already suspected that. So we need a switch like this (untested):

--- Makefile    5 Apr 2004 12:17:33 -0000       1.15
+++ Makefile    10 May 2004 16:50:18 -0000
@@ -2,10 +2,11 @@
 
 KERNELRELEASE := $(shell uname -r)
 KERNELSRCDIR := /lib/modules/$(KERNELRELEASE)/build
+KERNELBUILDDIR := $(KERNELSRCDIR)
 BUILD_DIR := $(shell pwd)
 export DVB_SRC_DIR := $(shell cd ..; pwd)
  
-include $(KERNELSRCDIR)/.config
+include $(KERNELBUILDDIR)/.config
 
 # if no DVB drivers are selected in the kernel config,
 # we check if an av7110 driver firmware is available
@@ -33,7 +34,11 @@
 all: makelinks $(DVB_FIRMWARE) $(VIDEO_BUF)
        rm -rf bt848.h
        ln -s $(KERNELSRCDIR)/drivers/media/video/bt848.h bt848.h
+ifeq ($(KERNELBUILDDIR),$(KERNELSRCDIR))
        $(MAKE) -C $(KERNELSRCDIR) SUBDIRS=$(BUILD_DIR) 
AV7110_FIRMWARE=$(CONFIG_DVB_AV7110_FIRMWARE_FILE) AV7110_OSD=$(CONFIG_DVB_AV7110_OSD)
+else
+       $(MAKE) -C $(KERNELSRCDIR) O=$(KERNELBUILDDIR) SUBDIRS=$(BUILD_DIR) 
AV7110_FIRMWARE=$(CONFIG_DVB_AV7110_FIRMWARE_FILE) AV7110_OSD=$(CONFIG_DVB_AV7110_OSD)
+endif
 
 video-buf.c:
        rm -rf video-buf.c
== end of patch ==

Olaf



-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to