summaryrefslogtreecommitdiffstats
path: root/samples/mei/Makefile
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-09-17 00:07:20 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2016-09-23 19:51:43 +0200
commit986b891ad121c61200d3dffcc8ed128a1397682e (patch)
treef3c01c12a1a30c6039d63cb7b9173c0dc9b653c5 /samples/mei/Makefile
parentsamples: move mic/mpssd example code from Documentation (diff)
downloadlinux-986b891ad121c61200d3dffcc8ed128a1397682e.tar.xz
linux-986b891ad121c61200d3dffcc8ed128a1397682e.zip
samples: move misc-devices/mei example code from Documentation
Move misc-devices/mei examples to samples/mei and remove it from Documentation Makefile. Delete misc-devices/Makefile. Create a new Makefile to build samples/mei. It can be built from top level directory or from mei directory: Run make -C samples/mei or cd samples/mei; make Acked-by: Jonathan Corbet <corbet@lwn.net> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'samples/mei/Makefile')
-rw-r--r--samples/mei/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/mei/Makefile b/samples/mei/Makefile
new file mode 100644
index 000000000000..7aac216dc420
--- /dev/null
+++ b/samples/mei/Makefile
@@ -0,0 +1,9 @@
+CC := $(CROSS_COMPILE)gcc
+CFLAGS := -I../../usr/include
+
+PROGS := mei-amt-version
+
+all: $(PROGS)
+
+clean:
+ rm -fr $(PROGS)