Selaa lähdekoodia

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
Hauke Mehrtens 14 vuotta sitten
vanhempi
sitoutus
f48acb1dc2
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      package/kernel/modules/001-depends.mk

+ 2 - 2
package/kernel/modules/001-depends.mk

@@ -27,11 +27,11 @@ endef
 
 
 
 
 define SetDepends/input
 define SetDepends/input
-  DEPENDS:= @!TARGET_x86
+  DEPENDS:= @!(TARGET_x86_generic||TARGET_x86_kvm_guest)
 endef
 endef
 
 
 define AddDepends/input
 define AddDepends/input
-  DEPENDS+= +!TARGET_x86:kmod-input-core $(1)
+  DEPENDS+= +!(TARGET_x86_generic||TARGET_x86_kvm_guest):kmod-input-core $(1)
 endef
 endef