aboutsummaryrefslogtreecommitdiff
path: root/Documentation/connector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/connector/Makefile')
-rw-r--r--Documentation/connector/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/connector/Makefile b/Documentation/connector/Makefile
new file mode 100644
index 00000000..d98e4df9
--- /dev/null
+++ b/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) $@