From: Hauke Mehrtens Date: Mon, 15 Aug 2011 11:05:35 +0000 (+0000) Subject: kernel: remove kmod-input-core just for some x86 profiles. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f48acb1dc2efdd22f3bfbe7dac893e3a35fe85ea;p=openwrt%2Fstaging%2Fmans0n.git 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 --- 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