Skip to content

Commit

Permalink
samples: move misc-devices/mei example code from Documentation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Tomas Winkler <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
Shuah Khan committed Sep 23, 2016
1 parent 6bee835 commit 986b891
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
subdir-y := accounting auxdisplay blackfin \
laptops misc-devices pcmcia timers watchdog
laptops pcmcia timers watchdog
1 change: 0 additions & 1 deletion Documentation/misc-devices/Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions Documentation/misc-devices/mei/Makefile

This file was deleted.

1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions samples/mei/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CC := $(CROSS_COMPILE)gcc
CFLAGS := -I../../usr/include

PROGS := mei-amt-version

all: $(PROGS)

clean:
rm -fr $(PROGS)
File renamed without changes.
File renamed without changes.

0 comments on commit 986b891

Please sign in to comment.