examples/rtai/Kbuild
branchstable-1.1
changeset 1732 1cc865ba17c2
parent 1724 07c82e520ddd
child 1744 7bc131b92039
--- a/examples/rtai/Kbuild	Fri Oct 13 10:07:10 2006 +0000
+++ b/examples/rtai/Kbuild	Tue Nov 07 12:13:30 2006 +0000
@@ -1,7 +1,5 @@
 #------------------------------------------------------------------------------
 #
-#  Kbuild
-#
 #  $Id$
 #
 #  Copyright (C) 2006  Florian Pose, Ingenieurgemeinschaft IgH
@@ -33,8 +31,12 @@
 #
 #------------------------------------------------------------------------------
 
+include $(src)/../../config.kbuild
+
 obj-m := ec_rtai_sample.o
 
 ec_rtai_sample-objs := rtai_sample.o
 
+EXTRA_CFLAGS := -I$(EC_RTAI_DIR)/include
+
 #------------------------------------------------------------------------------