From f48acb1dc2efdd22f3bfbe7dac893e3a35fe85ea Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon, 15 Aug 2011 11:05:35 +0000
Subject: [PATCH] kernel: remove kmod-input-core just for some x86 profiles.

Not all x86 profiles have CONFIG_INPUT=y in their configuration. Just remove kmod-input-core for them.

Thank you Philip Prindeville for pointing out this problem.

SVN-Revision: 27988
---
 package/kernel/modules/001-depends.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
index 602775c015..238799e2e5 100644
--- a/package/kernel/modules/001-depends.mk
+++ b/package/kernel/modules/001-depends.mk
@@ -27,11 +27,11 @@ endef
 
 
 define SetDepends/input
-  DEPENDS:= @!TARGET_x86
+  DEPENDS:= @!(TARGET_x86_generic||TARGET_x86_kvm_guest)
 endef
 
 define AddDepends/input
-  DEPENDS+= +!TARGET_x86:kmod-input-core $(1)
+  DEPENDS+= +!(TARGET_x86_generic||TARGET_x86_kvm_guest):kmod-input-core $(1)
 endef
 
 
-- 
GitLab