From patchwork Wed Jul 20 12:51:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 12923916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 26703C43334 for ; Wed, 20 Jul 2022 12:51:53 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8C57D166F; Wed, 20 Jul 2022 14:51:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C57D166F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1658321511; bh=qmc6mT1Pg2bYm00KPG9wnXlps6MUBc9zXaoPAP4xO54=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=p/GcYjcBHAGhReQ8uzAotzHaXeylEcxZ4q/g/gMIePcwCwXf315bSKkB0B8uGlgUl 3ZT+LtDj0WyJM9IVRHgILXf98BrXqwPtKTd9rbImrN+Br+jyS/+24I+Lim6hdIrKxq bto2R3lC/LyZCuIl48jPvMTyR6ZfuaZWtOus0VAQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2B96DF800BA; Wed, 20 Jul 2022 14:51:01 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A4CF3F80139; Wed, 20 Jul 2022 14:50:59 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 135ECF800BA for ; Wed, 20 Jul 2022 14:50:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 135ECF800BA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IxYSHWo5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658321454; x=1689857454; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qmc6mT1Pg2bYm00KPG9wnXlps6MUBc9zXaoPAP4xO54=; b=IxYSHWo5LYmT7nX5+GoRuyWlcENNZSk1bEcAXdb8M5z5xbDPhmjwFKms pjjIoP2MEw7VBL3aYqfmQi1HWSqWREfcdTjbeGLkQpsr3Ns1ofPdG4kOR 0mtIMAPb2IThbDhk40D9Buiwcxiq0bYhn9IC/x+Aw5/mj7+CiXY9EEG32 e3AWhlK8UCaDFS2P645EhryoJstoJ9BoyZxfTYWa2bKbywHdWhp+4TmFq FoiI4RqL8NLjnTvusDk3zBp7meAoJi2Y5E4akrJTyp/41UDq9BQhPaWd4 jQI4dTWUOyLFhbf3z1uBB6L0hhVNXkUCdrweFSFiUGK7CASSW3ZQJVdTo g==; X-IronPort-AV: E=McAfee;i="6400,9594,10413"; a="287926815" X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="287926815" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 05:50:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,286,1650956400"; d="scan'208";a="601946737" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga007.fm.intel.com with ESMTP; 20 Jul 2022 05:50:46 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Subject: [PATCH] ASoC: Makefile: Fix simultaneous build of KUNIT tests Date: Wed, 20 Jul 2022 14:51:15 +0200 Message-Id: <20220720125115.1785426-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Cezary Rojewski , Liam Girdwood , Takashi Iwai , alsa-devel@alsa-project.org, =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Using obj-$() := instead of obj-$() += leads to the latter assignment overwriting earlier value. Fix this by using incremental assignment to add additional objects to build. Signed-off-by: Amadeusz Sławiński Reviewed-by: Cezary Rojewski --- sound/soc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/Makefile b/sound/soc/Makefile index d4528962ac34..453181ef6c94 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile @@ -9,12 +9,12 @@ endif ifneq ($(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST),) # snd-soc-test-objs := soc-topology-test.o -obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) := soc-topology-test.o +obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) += soc-topology-test.o endif ifneq ($(CONFIG_SND_SOC_UTILS_KUNIT_TEST),) # snd-soc-test-objs := soc-utils-test.o -obj-$(CONFIG_SND_SOC_UTILS_KUNIT_TEST) := soc-utils-test.o +obj-$(CONFIG_SND_SOC_UTILS_KUNIT_TEST) += soc-utils-test.o endif ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),)