Messages in this thread | | | From | Axel Weiß <> | Subject | Re: Question: warnings about undefined symbols in splitted external modules | Date | Thu, 24 Feb 2005 19:51:10 +0100 |
| |
Hi Sam,
thanks a lot - it works perfectly!
Regards, Axel
Am Donnerstag, 24. Februar 2005 19:34 schrieb Sam Ravnborg: > The trick is to compile both modules at the same time. > Use a structure like the following: > dsp/lowlevel <= Code for one driver > dsp/middlelevel <= Code for second driver > > Then in the directory dsp/ include a simple kbuild file: > obj-y := lowlevel/ middlelevel/ > > And execute Make in that directory. > > For convenience you could use the following Makefile: > > > obj-y := lowlevel/ middlelevel/ > > all: > $(MAKE) -C path-to-kernel-src M=$(PWD) > > > Sam
-- Humboldt-Universität zu Berlin Institut für Informatik Signalverarbeitung und Mustererkennung Dipl.-Inf. Axel Weiß Rudower Chaussee 25 12489 Berlin-Adlershof +49-30-2093-3050 ** www.freesp.de ** - 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/
| |