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>
This commit is contained in:
parent
6bee835dd5
commit
986b891ad1
|
@ -1,2 +1,2 @@
|
||||||
subdir-y := accounting auxdisplay blackfin \
|
subdir-y := accounting auxdisplay blackfin \
|
||||||
laptops misc-devices pcmcia timers watchdog
|
laptops pcmcia timers watchdog
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
subdir-y := mei
|
|
|
@ -1,5 +0,0 @@
|
||||||
# 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/misc/mei/*
|
||||||
F: drivers/watchdog/mei_wdt.c
|
F: drivers/watchdog/mei_wdt.c
|
||||||
F: Documentation/misc-devices/mei/*
|
F: Documentation/misc-devices/mei/*
|
||||||
|
F: samples/mei/*
|
||||||
|
|
||||||
INTEL MIC DRIVERS (mic)
|
INTEL MIC DRIVERS (mic)
|
||||||
M: Sudeep Dutt <sudeep.dutt@intel.com>
|
M: Sudeep Dutt <sudeep.dutt@intel.com>
|
||||||
|
|
9
samples/mei/Makefile
Normal file
9
samples/mei/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
CC := $(CROSS_COMPILE)gcc
|
||||||
|
CFLAGS := -I../../usr/include
|
||||||
|
|
||||||
|
PROGS := mei-amt-version
|
||||||
|
|
||||||
|
all: $(PROGS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -fr $(PROGS)
|
Loading…
Reference in New Issue
Block a user