From: Mauro Carvalho Chehab <mchehab@s-opensource.com> To: unlisted-recipients:; (no To-header on input)@bombadil.infradead.org Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>, Linux Media Mailing List <linux-media@vger.kernel.org>, Mauro Carvalho Chehab <mchehab@infradead.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org Subject: [PATCH 3/4] sound, media: allow building ISA drivers it with COMPILE_TEST Date: Fri, 20 Apr 2018 08:32:15 -0400 [thread overview] Message-ID: <3f4d8ae83a91c765581d9cbbd1e436b6871368fa.1524227382.git.mchehab@s-opensource.com> (raw) In-Reply-To: <cover.1524227382.git.mchehab@s-opensource.com> In-Reply-To: <cover.1524227382.git.mchehab@s-opensource.com> All sound drivers that don't depend on PNP can be safelly build with COMPILE_TEST, as ISA provides function stubs to be used for such purposes. As a side effect, with this change, the radio-miropcm20 can now be built outside i386 with COMPILE_TEST. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> --- drivers/media/radio/Kconfig | 3 ++- sound/isa/Kconfig | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index d363726e9eb1..8fa403c7149e 100644 --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -372,7 +372,8 @@ config RADIO_GEMTEK_PROBE config RADIO_MIROPCM20 tristate "miroSOUND PCM20 radio" - depends on ISA && ISA_DMA_API && VIDEO_V4L2 && SND + depends on ISA || COMPILE_TEST + depends on ISA_DMA_API && VIDEO_V4L2 && SND select SND_ISA select SND_MIRO ---help--- diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig index cb54d9c0a77f..d2a6cdd0395c 100644 --- a/sound/isa/Kconfig +++ b/sound/isa/Kconfig @@ -20,7 +20,8 @@ config SND_SB16_DSP menuconfig SND_ISA bool "ISA sound devices" - depends on ISA && ISA_DMA_API + depends on ISA || COMPILE_TEST + depends on ISA_DMA_API default y help Support for sound devices connected via the ISA bus. @@ -38,7 +39,7 @@ config SND_ADLIB config SND_AD1816A tristate "Analog Devices SoundPort AD1816A" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART @@ -66,7 +67,7 @@ config SND_AD1848 config SND_ALS100 tristate "Diamond Tech. DT-019x and Avance Logic ALSxxx" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART @@ -107,7 +108,7 @@ config SND_AZT2316 config SND_AZT2320 tristate "Aztech Systems AZT2320" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART -- 2.14.3
WARNING: multiple messages have this Message-ID (diff)
From: Mauro Carvalho Chehab <mchehab@s-opensource.com> Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.com>, Mauro Carvalho Chehab <mchehab@infradead.org>, Mauro Carvalho Chehab <mchehab@s-opensource.com>, Linux Media Mailing List <linux-media@vger.kernel.org> Subject: [PATCH 3/4] sound, media: allow building ISA drivers it with COMPILE_TEST Date: Fri, 20 Apr 2018 08:32:15 -0400 [thread overview] Message-ID: <3f4d8ae83a91c765581d9cbbd1e436b6871368fa.1524227382.git.mchehab@s-opensource.com> (raw) In-Reply-To: <cover.1524227382.git.mchehab@s-opensource.com> In-Reply-To: <cover.1524227382.git.mchehab@s-opensource.com> All sound drivers that don't depend on PNP can be safelly build with COMPILE_TEST, as ISA provides function stubs to be used for such purposes. As a side effect, with this change, the radio-miropcm20 can now be built outside i386 with COMPILE_TEST. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> --- drivers/media/radio/Kconfig | 3 ++- sound/isa/Kconfig | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index d363726e9eb1..8fa403c7149e 100644 --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -372,7 +372,8 @@ config RADIO_GEMTEK_PROBE config RADIO_MIROPCM20 tristate "miroSOUND PCM20 radio" - depends on ISA && ISA_DMA_API && VIDEO_V4L2 && SND + depends on ISA || COMPILE_TEST + depends on ISA_DMA_API && VIDEO_V4L2 && SND select SND_ISA select SND_MIRO ---help--- diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig index cb54d9c0a77f..d2a6cdd0395c 100644 --- a/sound/isa/Kconfig +++ b/sound/isa/Kconfig @@ -20,7 +20,8 @@ config SND_SB16_DSP menuconfig SND_ISA bool "ISA sound devices" - depends on ISA && ISA_DMA_API + depends on ISA || COMPILE_TEST + depends on ISA_DMA_API default y help Support for sound devices connected via the ISA bus. @@ -38,7 +39,7 @@ config SND_ADLIB config SND_AD1816A tristate "Analog Devices SoundPort AD1816A" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART @@ -66,7 +67,7 @@ config SND_AD1848 config SND_ALS100 tristate "Diamond Tech. DT-019x and Avance Logic ALSxxx" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART @@ -107,7 +108,7 @@ config SND_AZT2316 config SND_AZT2320 tristate "Aztech Systems AZT2320" - depends on PNP + depends on PNP && ISA select ISAPNP select SND_OPL3_LIB select SND_MPU401_UART -- 2.14.3
next prev parent reply other threads:[~2018-04-20 12:32 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-04-20 12:32 [PATCH 0/4] More COMPILE_TEST patches to build all media drivers on x86_64 Mauro Carvalho Chehab 2018-04-20 12:32 ` Mauro Carvalho Chehab 2018-04-20 12:32 ` [PATCH 1/4] media: radio: allow building ISA drivers with COMPILE_TEST Mauro Carvalho Chehab 2018-04-22 15:41 ` kbuild test robot 2018-04-20 12:32 ` [PATCH 2/4] media: sta2x11_vip: allow build " Mauro Carvalho Chehab 2018-04-20 12:32 ` Mauro Carvalho Chehab [this message] 2018-04-20 12:32 ` [PATCH 3/4] sound, media: allow building ISA drivers it " Mauro Carvalho Chehab 2018-04-20 12:37 ` Takashi Iwai 2018-04-20 12:37 ` Takashi Iwai 2018-04-20 12:51 ` Mauro Carvalho Chehab 2018-04-20 12:51 ` Mauro Carvalho Chehab 2018-04-20 12:58 ` Takashi Iwai 2018-04-20 12:58 ` Takashi Iwai 2018-04-20 13:09 ` Mauro Carvalho Chehab 2018-04-20 13:09 ` Mauro Carvalho Chehab 2018-04-20 13:01 ` Mauro Carvalho Chehab 2018-04-20 13:01 ` Mauro Carvalho Chehab 2018-04-20 13:06 ` Takashi Iwai 2018-04-20 13:06 ` Takashi Iwai 2018-04-22 18:05 ` kbuild test robot 2018-04-22 18:05 ` kbuild test robot 2018-04-23 6:52 ` Takashi Iwai 2018-04-23 6:52 ` Takashi Iwai 2018-04-22 18:05 ` [RFC PATCH] sound, media: array_find() can be static kbuild test robot 2018-04-22 18:05 ` kbuild test robot 2018-04-23 6:52 ` Takashi Iwai 2018-04-23 6:52 ` Takashi Iwai 2018-04-20 12:32 ` [PATCH 4/4] media: siano: get rid of __le32/__le16 cast warnings Mauro Carvalho Chehab
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3f4d8ae83a91c765581d9cbbd1e436b6871368fa.1524227382.git.mchehab@s-opensource.com \ --to=mchehab@s-opensource.com \ --cc=alsa-devel@alsa-project.org \ --cc=linux-media@vger.kernel.org \ --cc=mchehab@infradead.org \ --cc=perex@perex.cz \ --cc=tiwai@suse.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.