2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00
linux-next/samples
Randy Dunlap d431b2e33c HID: hid-example: fix some build issues
samples/hid-example.o needs some Kconfig and Makefile additions in order
to build.  It should use <linux/*.h> headers from the build tree, so use
HEADERS_CHECK to require that those header files be present.

Change the kconfig symbol from tristate to bool since userspace cannot be
built as loadable modules.

However, I don't understand why the userspace header files are not present
as reported in Andrew's build log, since it builds OK on x86_64 without
any of these changes.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Alan Ott <alan@signal11.us>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-04-21 11:10:42 +02:00
..
hidraw HID: hid-example: fix some build issues 2011-04-21 11:10:42 +02:00
hw_breakpoint percpu: Add __percpu sparse annotations to hw_breakpoint 2010-02-27 16:23:39 +01:00
kdb kdb: Add kdb kernel module sample 2010-10-29 13:14:39 -05:00
kfifo Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
kobject include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
kprobes SAMPLES: kprobe_example: Make it print something on MIPS. 2010-08-05 13:26:29 +01:00
trace_events debugfs: Change debuhgfs directory of trace-events-sample.h 2009-09-15 09:50:48 -07:00
tracepoints llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
Kconfig HID: hid-example: fix some build issues 2011-04-21 11:10:42 +02:00
Makefile HID: Documentation for hidraw 2011-03-22 11:43:50 +01:00