From ee37a00d06c72a3e52a1fd0cfcb5360882f51046 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 20 Mar 2014 23:15:56 +0000
Subject: [PATCH] modules: make kmod-pcspkr depend on X86

The kernel Kconfig dependency lists X86, and we will fail building this module
on other platforms such as Malta.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39974
---
 package/kernel/linux/modules/sound.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 777d274a4e..ebdd3d9fe3 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -262,7 +262,7 @@ $(eval $(call KernelPackage,sound-soc-gw_avila))
 
 
 define KernelPackage/pcspkr
-  DEPENDS:=@!TARGET_x86
+  DEPENDS:=@TARGET_x86
   TITLE:=PC speaker support
   KCONFIG:= \
 	CONFIG_INPUT_PCSPKR \
-- 
GitLab