Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp505139ybk; Wed, 20 May 2020 05:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrl1WfCAFkOjVcrZgM/rQQc2mALTpBd4GB5P8F0GTHLGrTIan1arT1DSQsDxcenvrdVeES X-Received: by 2002:a05:6402:959:: with SMTP id h25mr3032919edz.287.1589977086903; Wed, 20 May 2020 05:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589977086; cv=none; d=google.com; s=arc-20160816; b=Ovucw1Ca9VXNfkk2X602FhQWNClZ38tZseeT9fgGJMi8Vh8UBXvaoQv5SXJmzgq0lN iB62MTP/rJbzIyY/sJ08fE9o89GvvApENnPNvUX7a1P47hlXTpjYS4n9795KqyXEUJ4w M1uS5k4dZXm1azbs4DBdCC4DTs8TIzVmHkaOHozWoYAleyLu9t3vMLPlHUeY1zBfUv9v hwRtRZb5YKaM63nfUZByGFWlgHR2D0qB5Bg4NbyUlq2mb8rl58lwcg930AM42h2Fs+Lh Aioj1KWkIWngDnK9gV5WWRexKGmJMmf467mHqe/KHp6cTQQaTVZZa77QISkZxk9rySlH aKcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=RUkDVTnxpv/fyjrYoj0R49X0nMtGdrhRKB+8sxW7XM8=; b=Yg34C5IwLjkR77jg5SVnWMk8LwQFDkDLKQbs5WRBL1ItGpfVwKBkhtCUKPXnt54G5Q G8l2cdh9R/hnBnz0jJa3CoO0ajw7QehzUkEfyfBPgWg50ofjsT/MjEzSCNbXGpexfTQg +9qzu6tA/GKQhfuE4I6zXxZQlrFaak7L+L4cxdcA6vBMCcHp218mSaWoOb8xw2wR6m9n 51FwfzI9PAxYwdPFnEdBEWkLYXgabK7JDYU43aWz6+9Xz2llAynquJH7TVFWZYaf5s0x FmbezgcnLOJHDCdtw1k9l3Z617ZoL+tov7HuvmF+mk8aPeTwKASZtgnqPgLnGEQL/leb qhaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si1634102ejl.434.2020.05.20.05.17.43; Wed, 20 May 2020 05:18:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbgETMQH (ORCPT + 99 others); Wed, 20 May 2020 08:16:07 -0400 Received: from mga17.intel.com ([192.55.52.151]:24808 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgETMQG (ORCPT ); Wed, 20 May 2020 08:16:06 -0400 IronPort-SDR: UIncpspnrRRBHG00Xtx/I/fIv60vW8L/LDzl8q/VaFFNwmiPn7bJsGfUVzWxqsAnF5zSH0yKBo idTRxmMhbglg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2020 05:16:06 -0700 IronPort-SDR: pv17pbgS2GGtmInTpjcd5g8rVRY56BtISvGSwa76r48JnssIR1JDoIxqq2cJJcJ6WHAUbJSHTf z4ZsADvZ4Iow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,413,1583222400"; d="scan'208";a="289330835" Received: from mylly.fi.intel.com (HELO [10.237.72.161]) ([10.237.72.161]) by fmsmga004.fm.intel.com with ESMTP; 20 May 2020 05:16:00 -0700 Subject: Re: [PATCH v2 05/12] i2c: designware: Use `-y` to build multi-object modules To: Serge Semin Cc: Serge Semin , Alexey Malahov , Thomas Bogendoerfer , Paul Burton , Ralf Baechle , Andy Shevchenko , Mika Westerberg , Wolfram Sang , Rob Herring , Frank Rowand , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, Wolfram Sang , Jean Delvare , Max Staudt , Stefan Roese , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200306132001.1B875803087C@mail.baikalelectronics.ru> <20200510095019.20981-1-Sergey.Semin@baikalelectronics.ru> <20200510095019.20981-6-Sergey.Semin@baikalelectronics.ru> From: Jarkko Nikula Message-ID: Date: Wed, 20 May 2020 15:16:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200510095019.20981-6-Sergey.Semin@baikalelectronics.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/20 12:50 PM, Serge Semin wrote: > Since commit 4f8272802739 ("Documentation: update kbuild loadable modules > goals & examples") `-objs` is fitted for building host programs, lets > change DW I2C core, platform and PCI driver kbuild directives to using > `-y`, which more straightforward for device drivers. By doing so we can > discard the ifeq construction in favor to the more natural and less bulky > `-$(CONFIG_X) += x.o` > > Signed-off-by: Serge Semin > Cc: Alexey Malahov > Cc: Thomas Bogendoerfer > Cc: Paul Burton > Cc: Ralf Baechle > Cc: Andy Shevchenko > Cc: Mika Westerberg > Cc: Wolfram Sang > Cc: Rob Herring > Cc: Frank Rowand > Cc: linux-mips@vger.kernel.org > Cc: devicetree@vger.kernel.org > --- > drivers/i2c/busses/Makefile | 17 ++++++++--------- > 1 file changed, 8 insertions(+), 9 deletions(-) > Acked-by: Jarkko Nikula