From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4AF88CB1.6010700@domain.hid> Date: Mon, 09 Nov 2009 22:42:09 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4AA95F97.6010802@domain.hid> <4AA96689.3010502@domain.hid> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Installation and Makefile Help List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jonathan Haws Cc: "xenomai@xenomai.org" Jonathan Haws wrote: > else > > # We are calling make from the kernel build system, therefore we simply define > # what the modules are. > > obj-m := fpgaDriver.o EXTRA_CFLAGS+=-Iinclude/xenomai > > endif You can put that in a file named "Kbuild" too, this avoids the big if. There are Makefile examples in xenomai sources "examples" sub-directory. -- Gilles.