[Lunar-commits] <moonbase> g15daemon: Check for INPUT_UINPUT in kernel config

Stefan Wold ratler at lunar-linux.org
Thu Mar 25 10:05:04 CET 2010


commit 5d3c3cca5d3870973464ec52ca648dddc073df03
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Thu Mar 25 10:05:04 2010 +0100

    g15daemon: Check for INPUT_UINPUT in kernel config
---
 utils/g15daemon/PRE_BUILD |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/utils/g15daemon/PRE_BUILD b/utils/g15daemon/PRE_BUILD
new file mode 100644
index 0000000..4d5a33f
--- /dev/null
+++ b/utils/g15daemon/PRE_BUILD
@@ -0,0 +1,11 @@
+if ! kernel_option_present INPUT_UINPUT; then
+  message "${PROBLEM_COLOR}PROBLEM: ${DEFAULT_COLOR}To use ${MODULE_COLOR}${MODULE}${DEFAULT_COLOR} you need to compile"
+  message "your kernel with INPUT_UINPUT support."
+  message "Please enable uinput support, found at:"
+  message ""
+  message "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
+  message ""
+  exit 1
+fi
+
+default_pre_build


More information about the Lunar-commits mailing list