Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp184462imm; Thu, 27 Sep 2018 18:50:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV61OqPbiDFlP+qmGkD69z155HLItztAfgQp84owkTLPn8u7oifCjFOOHmnytFQJfR7bFcBln X-Received: by 2002:a63:a54f:: with SMTP id r15-v6mr9846697pgu.176.1538099443276; Thu, 27 Sep 2018 18:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538099443; cv=none; d=google.com; s=arc-20160816; b=cVf4++n0QJY4LcH3PzE962Bk6mO5nOjv8eY48Pk57qsPDO/sakH8fEhdlEqvrnR31t rE0oTMfyt/087E1JvUltCE5+1L8+7UU8n9GNNwj6itFNb+mQJQnzgUMG8jfgbBv9cbQE eutp/Php4jFfitC12Up9eyumw0JvpmhcO2ltxDTm1D+v6OWG8G+AmeVigiwNw22b3mTF l2fltrqyzx517QyCdRIRinamoZApkYlz4kX4SbJliJ5IfIa0NR/Jlp8hRTKA6n893VeG O7lRb4BNnbLbVLfk1OqjeCaWBG5pz8n66f6RVP9+ae8NsE28H7bvBwRrHerRP7ES75Oa Ui4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=kZXo8NbZg1yxSJ2du74nMBw/QPjVldCU6A6vTNwLfgGjhHvljiJ3Z3+ii2at9wDJPo O3ZShb1bnHY0b4dhdPAZ9+/1V65F2D8z5ZNG8JKNkmaza8kavQP1lRKLL8L0AKuNOx2h l25nk4LNQXKxN1++kyaIXEYeXIHhF/mxymNS7t7bc2X5b0sPt8NAd6WM0TCu0pbAzp0K wcnl7KxklP7XaDQABmo1d3OmfPmdqq08AxyqwdvWLzuH6R/7pXqDsHvRRLHLv0UPa8kz ORJtyi9lgZC6+G0z5d54eLO3oPntebSDqo8Hn7WTrxMq7zbf1b7h5KMuToS3znOzWwFN d93w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="LWAp/ODn"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12-v6si3702610pfi.175.2018.09.27.18.50.27; Thu, 27 Sep 2018 18:50:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="LWAp/ODn"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728765AbeI1IKE (ORCPT + 99 others); Fri, 28 Sep 2018 04:10:04 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:35518 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728742AbeI1IKE (ORCPT ); Fri, 28 Sep 2018 04:10:04 -0400 Received: by mail-qt1-f195.google.com with SMTP id z14-v6so5049794qtn.2; Thu, 27 Sep 2018 18:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=LWAp/ODnG3g/fquiABxPcurrEfakZ99Tu80oGCcofFtOUhLF1bWOxFuRJ3Rf80PVL2 dm/9+Ktx27QUf6igqhEcYlR8YxWKDz5TOiSkD8FfVIIj8MISfvvfZsS8Rt/K11rMYt1J Y+3KeJdI3v/2/zJjL6lsuAXDZrxuEcEoDn3LP9Dig/bSGd0VXqs2huu+tWciiHYtXBxf 0iYVGubIElYZiG/OOJTtuvcXoYxocSgR5g1Xh1aVqJpdOTJqrGD/VYRZirL4LrfRd8LO eJkjlZPLopu1yOUQ+aPbsTWlwuLr3p4hGmskXdwKI3OA3vY2q3uhcC4bdIhpGRUHBW9v czRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=lOphwBFK31wYCR2ApDgqZXgOZlcLbQG6QJkDgUZ9DsncwiCG8hr6ZKKPdouMTWF8RQ fyffcJQ+Kg5N3Rhfm86IC4dI2l45EGSASsymHwsmI3xUGo1VxhcWjddVszecgurl0UJ6 tgNWPS8eb6sEKH5tD89Xv/Z/hi4Lk+OC35Bzdkg64qkIPBZqiVg0hGDwYMYiOnY63Zu6 Ij7Q+Vzd955n9S82xp6HYe6cEvjaApIrii/0mRE543h3owRjoA5/P/RXLA6IAYKxeCe5 jqySxq6VrNFN1t/G2InDoBOxAX+2kJNfEyA4e48i+i4jjXuCAV593zSGlpCAuNPpg6UR 5S8w== X-Gm-Message-State: ABuFfog/fO2TlslYzLkc9jbWNZ27UJsvRerj6ETRNWV8iAv339U9cVL7 lDf3CNKDaFSNzouijYCDM0A= X-Received: by 2002:aed:2f27:: with SMTP id l36-v6mr10879466qtd.333.1538099330155; Thu, 27 Sep 2018 18:48:50 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id f13-v6sm1847655qth.62.2018.09.27.18.48.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:49 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:42 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled Message-ID: <20180928014842.GA10506@WindFlash> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avoids building proc.o if 'make drivers/zorro/' is called and CONFIG_ZORRO is disabled, even if CONFIG_PROC_FS is enabled. Signed-off-by: Leonardo BrĂ¡s --- drivers/zorro/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/zorro/Makefile b/drivers/zorro/Makefile index b360ac4ea846..d580f9f08e0a 100644 --- a/drivers/zorro/Makefile +++ b/drivers/zorro/Makefile @@ -3,9 +3,10 @@ # Makefile for the Zorro bus specific drivers. # -obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o -obj-$(CONFIG_PROC_FS) += proc.o -obj-$(CONFIG_ZORRO_NAMES) += names.o +obj-$(CONFIG_ZORRO) := zorro_all.o +zorro_all-y += zorro.o zorro-driver.o zorro-sysfs.o +zorro_all-$(CONFIG_ZORRO_NAMES) += names.o +zorro_all-$(CONFIG_PROC_FS) += proc.o hostprogs-y := gen-devlist -- 2.19.0