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=a182615da8d3b5d20bc2594d0a45f26ec6f6cc2c;p=openwrt%2Fsvn-archive%2Farchive.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