Commit 986b891a authored by Shuah Khan's avatar Shuah Khan

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: default avatarJonathan Corbet <corbet@lwn.net>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 6bee835d
subdir-y := accounting auxdisplay blackfin \
laptops misc-devices pcmcia timers watchdog
laptops pcmcia timers watchdog
# List of programs to build
hostprogs-y := mei-amt-version
HOSTCFLAGS_mei-amt-version.o += -I$(objtree)/usr/include
# Tell kbuild to always build the programs
always := $(hostprogs-y)
......@@ -6244,6 +6244,7 @@ F: include/linux/mei_cl_bus.h
F: drivers/misc/mei/*
F: drivers/watchdog/mei_wdt.c
F: Documentation/misc-devices/mei/*
F: samples/mei/*
INTEL MIC DRIVERS (mic)
M: Sudeep Dutt <sudeep.dutt@intel.com>
......
CC := $(CROSS_COMPILE)gcc
CFLAGS := -I../../usr/include
PROGS := mei-amt-version
all: $(PROGS)
clean:
rm -fr $(PROGS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment