From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: [RFC 5/5] compress: add makefile and kconfig file Date: Fri, 2 Sep 2011 11:36:25 +0530 Message-ID: <1314943585-11670-6-git-send-email-vinod.koul@linux.intel.com> References: <1314943585-11670-1-git-send-email-vinod.koul@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id 3931E1038D9 for ; Fri, 2 Sep 2011 08:08:26 +0200 (CEST) In-Reply-To: <1314943585-11670-1-git-send-email-vinod.koul@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, Vinod Koul , broonie@opensource.wolfsonmicro.com, lrg@ti.com, Pierre-Louis Bossart List-Id: alsa-devel@alsa-project.org Signed-off-by: Vinod Koul Signed-off-by: Pierre-Louis Bossart --- sound/Kconfig | 2 ++ sound/Makefile | 3 ++- sound/compress_offload/Kconfig | 12 ++++++++++++ sound/compress_offload/Makefile | 3 +++ 4 files changed, 19 insertions(+), 1 deletions(-) create mode 100644 sound/compress_offload/Kconfig create mode 100644 sound/compress_offload/Makefile diff --git a/sound/Kconfig b/sound/Kconfig index 1fef141..9b09263 100644 --- a/sound/Kconfig +++ b/sound/Kconfig @@ -93,6 +93,8 @@ source "sound/mips/Kconfig" source "sound/sh/Kconfig" +source "sound/compress_offload/Kconfig" + # the following will depend on the order of config. # here assuming USB is defined before ALSA source "sound/usb/Kconfig" diff --git a/sound/Makefile b/sound/Makefile index ce9132b..5a54d6c 100644 --- a/sound/Makefile +++ b/sound/Makefile @@ -6,7 +6,8 @@ obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o obj-$(CONFIG_SOUND_PRIME) += oss/ obj-$(CONFIG_DMASOUND) += oss/ obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \ - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ + firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ \ + compress_offload/ obj-$(CONFIG_SND_AOA) += aoa/ # This one must be compilable even if sound is configured out diff --git a/sound/compress_offload/Kconfig b/sound/compress_offload/Kconfig new file mode 100644 index 0000000..7ed2d04 --- /dev/null +++ b/sound/compress_offload/Kconfig @@ -0,0 +1,12 @@ +# +# compressed offload config +# + +menuconfig SND_COMPRESS_OFFLOAD + tristate "ALSA Compressed audio offload support" + default n + help + If you want support for offloading compressed audio and have such + a hardware, then you should say Y here and also to the DSP driver + of your platform. + diff --git a/sound/compress_offload/Makefile b/sound/compress_offload/Makefile new file mode 100644 index 0000000..f0f378f --- /dev/null +++ b/sound/compress_offload/Makefile @@ -0,0 +1,3 @@ +snd-compress-objs := core.o + +obj-$(CONFIG_SND_COMPRESS_OFFLOAD) += snd-compress.o -- 1.7.0.4