examples/tty/Kbuild.in
changeset 1613 070b4b420ab1
parent 1567 1babaa430b7b
child 1809 586be70ff70a
--- a/examples/tty/Kbuild.in	Fri Jan 08 11:40:27 2010 +0100
+++ b/examples/tty/Kbuild.in	Fri Jan 08 13:10:12 2010 +0100
@@ -33,7 +33,11 @@
 
 obj-m := ec_tty_example.o
 
-ec_tty_example-objs := tty.o
+ec_tty_example-objs := \
+	serial.o \
+	tty.o
+
+CFLAGS_tty.o := -I$(src)
 
 KBUILD_EXTRA_SYMBOLS := \
 	@abs_top_builddir@/Module.symvers \