RE: [PATCH v2 1/4] 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> Signed-off-by: Shuah Khan Acked-by: Tomas Winkler > --- > Documentation/Makefile | 2 +- > Documentation/misc-devices/Makefile | 1 - > Documentation/misc-devices/mei/.gitignore| 1 - > Documentation/misc-devices/mei/Makefile | 5 - > Documentation/misc-devices/mei/TODO | 2 - > Documentation/misc-devices/mei/mei-amt-version.c | 479 > --- > MAINTAINERS | 1 + > samples/mei/.gitignore | 1 + > samples/mei/Makefile | 9 + > samples/mei/TODO | 2 + > samples/mei/mei-amt-version.c| 479 > +++ > 11 files changed, 493 insertions(+), 489 deletions(-) delete mode 100644 > Documentation/misc-devices/Makefile > delete mode 100644 Documentation/misc-devices/mei/.gitignore > delete mode 100644 Documentation/misc-devices/mei/Makefile > delete mode 100644 Documentation/misc-devices/mei/TODO > delete mode 100644 Documentation/misc-devices/mei/mei-amt-version.c > create mode 100644 samples/mei/.gitignore create mode 100644 > samples/mei/Makefile create mode 100644 samples/mei/TODO create > mode 100644 samples/mei/mei-amt-version.c > > diff --git a/Documentation/Makefile b/Documentation/Makefile index > 80b5bdc..3c2a207 100644 > --- a/Documentation/Makefile > +++ b/Documentation/Makefile > @@ -1,2 +1,2 @@ > subdir-y := accounting auxdisplay blackfin \ > - laptops misc-devices pcmcia timers watchdog > + laptops pcmcia timers watchdog > diff --git a/Documentation/misc-devices/Makefile b/Documentation/misc- > devices/Makefile > deleted file mode 100644 > index e2b7aa4..000 > --- a/Documentation/misc-devices/Makefile > +++ /dev/null > @@ -1 +0,0 @@ > -subdir-y := mei > diff --git a/Documentation/misc-devices/mei/.gitignore > b/Documentation/misc-devices/mei/.gitignore > deleted file mode 100644 > index f356b81..000 > --- a/Documentation/misc-devices/mei/.gitignore > +++ /dev/null > @@ -1 +0,0 @@ > -mei-amt-version > diff --git a/Documentation/misc-devices/mei/Makefile > b/Documentation/misc-devices/mei/Makefile > deleted file mode 100644 > index d758047..000 > --- a/Documentation/misc-devices/mei/Makefile > +++ /dev/null > @@ -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) diff --git > a/Documentation/misc-devices/mei/TODO b/Documentation/misc- > devices/mei/TODO > deleted file mode 100644 > index 6b3625d..000 > --- a/Documentation/misc-devices/mei/TODO > +++ /dev/null > @@ -1,2 +0,0 @@ > -TODO: > - - Cleanup and split the timer function > diff --git a/Documentation/misc-devices/mei/mei-amt-version.c > b/Documentation/misc-devices/mei/mei-amt-version.c > deleted file mode 100644 > index 57d0d87..000 > --- a/Documentation/misc-devices/mei/mei-amt-version.c > +++ /dev/null > @@ -1,479 +0,0 @@ > - > /** > > - * Intel Management Engine Interface (Intel MEI) Linux driver > - * Intel MEI Interface Header > - * > - * This file is provided under a dual BSD/GPLv2 license. When using or > - * redistributing this file, you may do so under either license. > - * > - * GPL LICENSE SUMMARY > - * > - * Copyright(c) 2012 Intel Corporation. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of version 2 of the GNU General Public License as > - * published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, but > - * WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, > - * USA > - * > - * The full GNU General Public License is included in this distribution > - * in the file called LICENSE.GPL. > - * > - * Contact Information: > - * Intel Corporation. > - * linux-...@linux.intel.com > - * http://www.intel.com > - * > - * BSD LICENSE > - * > - * Copyright(c) 2003 - 2012 Intel Corporation. All rights reserved. > - * All rights
RE: [PATCH v2 1/4] 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 > Signed-off-by: Shuah Khan Acked-by: Tomas Winkler > --- > Documentation/Makefile | 2 +- > Documentation/misc-devices/Makefile | 1 - > Documentation/misc-devices/mei/.gitignore| 1 - > Documentation/misc-devices/mei/Makefile | 5 - > Documentation/misc-devices/mei/TODO | 2 - > Documentation/misc-devices/mei/mei-amt-version.c | 479 > --- > MAINTAINERS | 1 + > samples/mei/.gitignore | 1 + > samples/mei/Makefile | 9 + > samples/mei/TODO | 2 + > samples/mei/mei-amt-version.c| 479 > +++ > 11 files changed, 493 insertions(+), 489 deletions(-) delete mode 100644 > Documentation/misc-devices/Makefile > delete mode 100644 Documentation/misc-devices/mei/.gitignore > delete mode 100644 Documentation/misc-devices/mei/Makefile > delete mode 100644 Documentation/misc-devices/mei/TODO > delete mode 100644 Documentation/misc-devices/mei/mei-amt-version.c > create mode 100644 samples/mei/.gitignore create mode 100644 > samples/mei/Makefile create mode 100644 samples/mei/TODO create > mode 100644 samples/mei/mei-amt-version.c > > diff --git a/Documentation/Makefile b/Documentation/Makefile index > 80b5bdc..3c2a207 100644 > --- a/Documentation/Makefile > +++ b/Documentation/Makefile > @@ -1,2 +1,2 @@ > subdir-y := accounting auxdisplay blackfin \ > - laptops misc-devices pcmcia timers watchdog > + laptops pcmcia timers watchdog > diff --git a/Documentation/misc-devices/Makefile b/Documentation/misc- > devices/Makefile > deleted file mode 100644 > index e2b7aa4..000 > --- a/Documentation/misc-devices/Makefile > +++ /dev/null > @@ -1 +0,0 @@ > -subdir-y := mei > diff --git a/Documentation/misc-devices/mei/.gitignore > b/Documentation/misc-devices/mei/.gitignore > deleted file mode 100644 > index f356b81..000 > --- a/Documentation/misc-devices/mei/.gitignore > +++ /dev/null > @@ -1 +0,0 @@ > -mei-amt-version > diff --git a/Documentation/misc-devices/mei/Makefile > b/Documentation/misc-devices/mei/Makefile > deleted file mode 100644 > index d758047..000 > --- a/Documentation/misc-devices/mei/Makefile > +++ /dev/null > @@ -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) diff --git > a/Documentation/misc-devices/mei/TODO b/Documentation/misc- > devices/mei/TODO > deleted file mode 100644 > index 6b3625d..000 > --- a/Documentation/misc-devices/mei/TODO > +++ /dev/null > @@ -1,2 +0,0 @@ > -TODO: > - - Cleanup and split the timer function > diff --git a/Documentation/misc-devices/mei/mei-amt-version.c > b/Documentation/misc-devices/mei/mei-amt-version.c > deleted file mode 100644 > index 57d0d87..000 > --- a/Documentation/misc-devices/mei/mei-amt-version.c > +++ /dev/null > @@ -1,479 +0,0 @@ > - > /** > > - * Intel Management Engine Interface (Intel MEI) Linux driver > - * Intel MEI Interface Header > - * > - * This file is provided under a dual BSD/GPLv2 license. When using or > - * redistributing this file, you may do so under either license. > - * > - * GPL LICENSE SUMMARY > - * > - * Copyright(c) 2012 Intel Corporation. All rights reserved. > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of version 2 of the GNU General Public License as > - * published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, but > - * WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU > - * General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, > - * USA > - * > - * The full GNU General Public License is included in this distribution > - * in the file called LICENSE.GPL. > - * > - * Contact Information: > - * Intel Corporation. > - * linux-...@linux.intel.com > - * http://www.intel.com > - * > - * BSD LICENSE > - * > - * Copyright(c) 2003 - 2012 Intel Corporation. All rights reserved. > - * All rights reserved. > - * > - * Redistribution and use in source and binary
Re: [PATCH v2 1/4] samples: move misc-devices/mei example code from Documentation
On Wed, Sep 21, 2016 at 01:47:30PM -0600, Shuah Khan wrote: > 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> Signed-off-by: Shuah Khan > --- Acked-by: Greg Kroah-Hartman
Re: [PATCH v2 1/4] samples: move misc-devices/mei example code from Documentation
On Wed, Sep 21, 2016 at 01:47:30PM -0600, Shuah Khan wrote: > 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 > Signed-off-by: Shuah Khan > --- Acked-by: Greg Kroah-Hartman