aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.14/0046-BCM2708-Added-HiFiBerry-Digi-configuration-option-It.patch
blob: c62664cdfa0ca15353fa7475323d158b40d41cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From f70ff551596e371431a05ab5678fb12f2dfc282a Mon Sep 17 00:00:00 2001
From: Daniel Matuschek <info@crazy-audio.com>
Date: Thu, 16 Jan 2014 07:27:28 +0100
Subject: [PATCH 46/54] BCM2708: Added HiFiBerry Digi configuration option It
 will be compiled as a module by default. This also includes the WM8804
 driver.

Signed-off-by: Daniel Matuschek <daniel@matuschek.net>
---
 arch/arm/configs/bcmrpi_defconfig | 2 ++
 1 file changed, 2 insertions(+)

--- a/arch/arm/configs/bcmrpi_defconfig
+++ b/arch/arm/configs/bcmrpi_defconfig
@@ -742,8 +742,10 @@ CONFIG_SND_USB_6FIRE=m
 CONFIG_SND_SOC=m
 CONFIG_SND_SOC_DMAENGINE_PCM=y
 CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
+CONFIG_SND_SOC_WM8804=m
 CONFIG_SND_BCM2708_SOC_I2S=m
 CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m
+CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m
 CONFIG_SND_BCM2708_SOC_RPI_DAC=m
 CONFIG_SND_SOC_I2C_AND_SPI=m
 CONFIG_SND_SOC_PCM5102A=m
p">endef define Package/libbsd/description This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. endef define Build/InstallDev $(INSTALL_DIR) \ $(1)/lib \ $(1)/usr/include $(CP) \ $(PKG_INSTALL_DIR)/lib/libbsd.so* \ $(1)/lib/ $(CP) \ $(PKG_INSTALL_DIR)/usr/include/* \ $(1)/usr/include/ ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so ) endef define Package/libbsd/install $(INSTALL_DIR) \ $(1)/lib $(CP) \ $(PKG_INSTALL_DIR)/lib/libbsd.so* \ $(1)/lib/ ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so ) endef $(eval $(call BuildPackage,libbsd))