summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2019-10-10 16:27:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-21 12:33:12 -0400
commit6859eba4f6fbc515ea05f53b77ec55f49a6dcf0f (patch)
treefec86adf3858a49c8db000684b010259fb6bf39b /samples/Kconfig
parent834c7360f92ad88155c5628eb10d60419ebaa0df (diff)
downloadlinux-6859eba4f6fbc515ea05f53b77ec55f49a6dcf0f.tar.gz
linux-6859eba4f6fbc515ea05f53b77ec55f49a6dcf0f.tar.bz2
linux-6859eba4f6fbc515ea05f53b77ec55f49a6dcf0f.zip
samples: mei: use hostprogs kbuild constructs
Use hostprogs kbuild constructs to compile mei sample program mei-amt-version Add CONFIG_SAMPLE_INTEL_MEI option to enable/disable the feature. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Link: https://lore.kernel.org/r/20191010132710.4075-1-tomas.winkler@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index c8dacb4dda80..b663d9d24114 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -169,4 +169,11 @@ config SAMPLE_VFS
as mount API and statx(). Note that this is restricted to the x86
arch whilst it accesses system calls that aren't yet in all arches.
+config SAMPLE_INTEL_MEI
+ bool "Build example program working with intel mei driver"
+ depends on INTEL_MEI
+ help
+ Build a sample program to work with mei device.
+
+
endif # SAMPLES