Hi,

I'm stuck with some Makefile issues concerning a kernel module using RTnet. My default Makefile for building a module looks like this:

ifneq ($(KERNELRELEASE),)
obj-m := module.o

else
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

default:
        $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

endif

Now how can I tell the Makefile to look for headers in /usr/local/ rtnet/include respectively how could I set my CFLAGS? Sorry for that not really RTnet dependent question, but I couldn't find a Makefile-howto covering this question.

Jan

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to