examples/rtai/Kbuild
changeset 485 8354ddf38481
parent 450 03523dfc4dff
child 685 3e7828ef0cd8
--- a/examples/rtai/Kbuild	Mon Nov 06 14:22:35 2006 +0000
+++ b/examples/rtai/Kbuild	Mon Nov 06 16:27:40 2006 +0000
@@ -31,10 +31,12 @@
 #
 #------------------------------------------------------------------------------
 
+include $(src)/../../config.kbuild
+
 obj-m := ec_rtai_sample.o
 
 ec_rtai_sample-objs := rtai_sample.o
 
-EXTRA_CFLAGS := -I/usr/realtime/include
+EXTRA_CFLAGS := -I$(EC_RTAI_DIR)/include
 
 #------------------------------------------------------------------------------