summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/connector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/connector/Makefile')
-rw-r--r--kernel/Documentation/connector/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/Documentation/connector/Makefile b/kernel/Documentation/connector/Makefile
new file mode 100644
index 000000000..d98e4df98
--- /dev/null
+++ b/kernel/Documentation/connector/Makefile
@@ -0,0 +1,16 @@
+ifneq ($(CONFIG_CONNECTOR),)
+obj-m += cn_test.o
+endif
+
+# List of programs to build
+hostprogs-y := ucon
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_ucon.o += -I$(objtree)/usr/include
+
+all: modules
+
+modules clean:
+ $(MAKE) -C ../.. SUBDIRS=$(PWD) $@