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-Tag: reboot~16037 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f48acb1dc2efdd22f3bfbe7dac893e3a35fe85ea;p=oweals%2Fopenwrt.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