From 7d551dba7ea07d5549f1f16cd6c355b516ae7da7 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 21 Apr 2011 11:10:42 +0200 Subject: [PATCH] --- yaml --- r: 248509 b: refs/heads/master c: d431b2e33cd54e4334019a95979ae93aea4735e8 h: refs/heads/master i: 248507: c473e08df62f3a276f347086ec8e24dbe50bca9a v: v3 --- [refs] | 2 +- trunk/samples/Kconfig | 4 ++-- trunk/samples/hidraw/Makefile | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 386c89a62616..8e379b34f86d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cb3e85fe19575cce8af82bc62a070c72e8f781b8 +refs/heads/master: d431b2e33cd54e4334019a95979ae93aea4735e8 diff --git a/trunk/samples/Kconfig b/trunk/samples/Kconfig index 52f4264b3006..977980317a7d 100644 --- a/trunk/samples/Kconfig +++ b/trunk/samples/Kconfig @@ -62,8 +62,8 @@ config SAMPLE_KDB command to the kdb shell. config SAMPLE_HIDRAW - tristate "Build simple hidraw example" - depends on HIDRAW + bool "Build simple hidraw example" + depends on HIDRAW && HEADERS_CHECK help Build an example of how to use hidraw from userspace. diff --git a/trunk/samples/hidraw/Makefile b/trunk/samples/hidraw/Makefile index 7811cb0289aa..382eeae77bd6 100644 --- a/trunk/samples/hidraw/Makefile +++ b/trunk/samples/hidraw/Makefile @@ -6,3 +6,5 @@ hostprogs-y := hid-example # Tell kbuild to always build the programs always := $(hostprogs-y) + +HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include