Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: linux-sound@vger.kernel.org, Takashi Iwai <tiwai@suse.de>
Subject: [PATCH 16/34] ASoC: mediatek: Use *-y instead of *-objs in Makefile
Date: Tue,  7 May 2024 17:55:20 +0200	[thread overview]
Message-ID: <20240507155540.24815-17-tiwai@suse.de> (raw)
In-Reply-To: <20240507155540.24815-1-tiwai@suse.de>

*-objs suffix is reserved rather for (user-space) host programs while
usually *-y suffix is used for kernel drivers (although *-objs works
for that purpose for now).

Let's correct the old usages of *-objs in Makefiles.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 sound/soc/mediatek/common/Makefile | 4 ++--
 sound/soc/mediatek/mt2701/Makefile | 2 +-
 sound/soc/mediatek/mt6797/Makefile | 2 +-
 sound/soc/mediatek/mt7986/Makefile | 2 +-
 sound/soc/mediatek/mt8183/Makefile | 2 +-
 sound/soc/mediatek/mt8186/Makefile | 2 +-
 sound/soc/mediatek/mt8188/Makefile | 2 +-
 sound/soc/mediatek/mt8192/Makefile | 2 +-
 sound/soc/mediatek/mt8195/Makefile | 2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/sound/soc/mediatek/common/Makefile b/sound/soc/mediatek/common/Makefile
index 363cc258a3d5..c90d276cf4ed 100644
--- a/sound/soc/mediatek/common/Makefile
+++ b/sound/soc/mediatek/common/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # platform driver
-snd-soc-mtk-common-objs := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
-snd-soc-mtk-common-objs += mtk-dai-adda-common.o
+snd-soc-mtk-common-y := mtk-afe-platform-driver.o mtk-afe-fe-dai.o mtk-dsp-sof-common.o mtk-soundcard-driver.o
+snd-soc-mtk-common-y += mtk-dai-adda-common.o
 
 obj-$(CONFIG_SND_SOC_MEDIATEK) += snd-soc-mtk-common.o
 
diff --git a/sound/soc/mediatek/mt2701/Makefile b/sound/soc/mediatek/mt2701/Makefile
index 21d5e697cfa7..507fa26c3945 100644
--- a/sound/soc/mediatek/mt2701/Makefile
+++ b/sound/soc/mediatek/mt2701/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # platform driver
-snd-soc-mt2701-afe-objs := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
+snd-soc-mt2701-afe-y := mt2701-afe-pcm.o mt2701-afe-clock-ctrl.o
 obj-$(CONFIG_SND_SOC_MT2701) += snd-soc-mt2701-afe.o
 
 # machine driver
diff --git a/sound/soc/mediatek/mt6797/Makefile b/sound/soc/mediatek/mt6797/Makefile
index bf6e179ea93f..150021495e94 100644
--- a/sound/soc/mediatek/mt6797/Makefile
+++ b/sound/soc/mediatek/mt6797/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt6797-afe-objs := \
+snd-soc-mt6797-afe-y := \
 	mt6797-afe-pcm.o \
 	mt6797-afe-clk.o \
 	mt6797-dai-pcm.o \
diff --git a/sound/soc/mediatek/mt7986/Makefile b/sound/soc/mediatek/mt7986/Makefile
index fc4c82559b29..4b54bbe88683 100644
--- a/sound/soc/mediatek/mt7986/Makefile
+++ b/sound/soc/mediatek/mt7986/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt7986-afe-objs := \
+snd-soc-mt7986-afe-y := \
 	mt7986-afe-pcm.o \
 	mt7986-dai-etdm.o
 
diff --git a/sound/soc/mediatek/mt8183/Makefile b/sound/soc/mediatek/mt8183/Makefile
index c0a3bbc2c1f6..0d0dcdde00fc 100644
--- a/sound/soc/mediatek/mt8183/Makefile
+++ b/sound/soc/mediatek/mt8183/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8183-afe-objs := \
+snd-soc-mt8183-afe-y := \
 	mt8183-afe-pcm.o \
 	mt8183-afe-clk.o \
 	mt8183-dai-i2s.o \
diff --git a/sound/soc/mediatek/mt8186/Makefile b/sound/soc/mediatek/mt8186/Makefile
index fa2f0efce815..ab3f5b763df8 100644
--- a/sound/soc/mediatek/mt8186/Makefile
+++ b/sound/soc/mediatek/mt8186/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8186-afe-objs := \
+snd-soc-mt8186-afe-y := \
 	mt8186-afe-pcm.o \
 	mt8186-audsys-clk.o \
 	mt8186-afe-clk.o \
diff --git a/sound/soc/mediatek/mt8188/Makefile b/sound/soc/mediatek/mt8188/Makefile
index 781e61cbb22b..1178bce45c50 100644
--- a/sound/soc/mediatek/mt8188/Makefile
+++ b/sound/soc/mediatek/mt8188/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8188-afe-objs := \
+snd-soc-mt8188-afe-y := \
 	mt8188-afe-clk.o \
 	mt8188-afe-pcm.o \
 	mt8188-audsys-clk.o \
diff --git a/sound/soc/mediatek/mt8192/Makefile b/sound/soc/mediatek/mt8192/Makefile
index 8b27d82626ea..d60c36bcdcce 100644
--- a/sound/soc/mediatek/mt8192/Makefile
+++ b/sound/soc/mediatek/mt8192/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8192-afe-objs := \
+snd-soc-mt8192-afe-y := \
 	mt8192-afe-pcm.o \
 	mt8192-afe-clk.o \
 	mt8192-afe-gpio.o \
diff --git a/sound/soc/mediatek/mt8195/Makefile b/sound/soc/mediatek/mt8195/Makefile
index aae673ec751b..014e93dace26 100644
--- a/sound/soc/mediatek/mt8195/Makefile
+++ b/sound/soc/mediatek/mt8195/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 
 # platform driver
-snd-soc-mt8195-afe-objs := \
+snd-soc-mt8195-afe-y := \
 	mt8195-audsys-clk.o \
 	mt8195-afe-clk.o \
 	mt8195-afe-pcm.o \
-- 
2.43.0


  parent reply	other threads:[~2024-05-07 15:55 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 15:55 [PATCH 00/34] ASoC: Use *-y instead of *-objs in Makefile Takashi Iwai
2024-05-07 15:55 ` [PATCH 01/34] ASoC: core: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 02/34] ASoC: codecs: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 03/34] ASoC: adi: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 04/34] ASoC: amd: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 05/34] ASoC: apple: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 06/34] ASoC: atmel: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 07/34] ASoC: au1x: Use *-y instead of *-objs Makefile Takashi Iwai
2024-05-07 15:55 ` [PATCH 08/34] ASoC: bcm: Use *-y instead of *-objs in Makefile Takashi Iwai
2024-05-07 15:55 ` [PATCH 09/34] ASoC: cirrus: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 10/34] ASoC: fsl: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 11/34] ASoC: generic: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 12/34] ASoC: intel: " Takashi Iwai
2024-05-08 13:00   ` Amadeusz Sławiński
2024-05-07 15:55 ` [PATCH 13/34] ASoC: jz4740: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 14/34] ASoC: kirkwood: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 15/34] ASoC: loongson: " Takashi Iwai
2024-05-07 15:55 ` Takashi Iwai [this message]
2024-05-07 15:55 ` [PATCH 17/34] ASoC: meson: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 18/34] ASoC: mxs: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 19/34] ASoC: pxa: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 20/34] ASoC: qcom: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 21/34] ASoC: rockchip: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 22/34] ASoC: samsung: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 23/34] ASoC: sh: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 24/34] ASoC: SOF: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 25/34] ASoC: spear: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 26/34] ASoC: sprd: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 27/34] ASoC: sti: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 28/34] ASoC: stm: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 29/34] ASoC: tegra: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 30/34] ASoC: ti: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 31/34] ASoC: uniphier: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 32/34] ASoC: ux500: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 33/34] ASoC: xilinx: " Takashi Iwai
2024-05-07 15:55 ` [PATCH 34/34] ASoC: xtensa: " Takashi Iwai
2024-05-08  5:44 ` [PATCH 00/34] ASoC: " Jaroslav Kysela
2024-05-09  4:53 ` Mark Brown

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=20240507155540.24815-17-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=broonie@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox