[SRU][OEM-B-OSP1][PATCH 4/4] ALSA: sof: disable debug message for production release
Hui Wang
hui.wang at canonical.com
Mon Sep 30 06:01:03 UTC 2019
From: Rander Wang <rander.wang at linux.intel.com>
BugLink: https://bugs.launchpad.net/bugs/1845904
It is clear for release version without many debug messages.
Signed-off-by: Rander Wang <rander.wang at linux.intel.com>
(cherry picked from commit 6a4a82454644b858e9ad4f3d733b3b62a5aec5cc
git://github.com/thesofproject/linux.git)
Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
sound/soc/sof/Makefile | 2 --
sound/soc/sof/intel/Makefile | 2 --
sound/soc/sof/xtensa/Makefile | 2 --
3 files changed, 6 deletions(-)
diff --git a/sound/soc/sof/Makefile b/sound/soc/sof/Makefile
index 33c3ded2b7e2..8f14c9d2950b 100644
--- a/sound/soc/sof/Makefile
+++ b/sound/soc/sof/Makefile
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
-ccflags-y += -DDEBUG
-
snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
control.o trace.o utils.o
diff --git a/sound/soc/sof/intel/Makefile b/sound/soc/sof/intel/Makefile
index 03b22924d0c4..84a65c80f62a 100644
--- a/sound/soc/sof/intel/Makefile
+++ b/sound/soc/sof/intel/Makefile
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
-ccflags-y += -DDEBUG
-
snd-sof-intel-byt-objs := byt.o
snd-sof-intel-hsw-objs := hsw.o
snd-sof-intel-bdw-objs := bdw.o
diff --git a/sound/soc/sof/xtensa/Makefile b/sound/soc/sof/xtensa/Makefile
index 34b27be0f7be..cc89c7472a38 100644
--- a/sound/soc/sof/xtensa/Makefile
+++ b/sound/soc/sof/xtensa/Makefile
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
-ccflags-y += -DDEBUG
-
snd-sof-xtensa-dsp-objs := core.o
obj-$(CONFIG_SND_SOC_SOF_XTENSA) += snd-sof-xtensa-dsp.o
--
2.17.1
More information about the kernel-team
mailing list