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 <>
Acked-by: default avatarGreg Kroah-Hartman <>
Acked-by: default avatarTomas Winkler <>
Signed-off-by: default avatarShuah Khan <>
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/*
M: Sudeep Dutt <>
CFLAGS := -I../../usr/include
PROGS := mei-amt-version
all: $(PROGS)
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