Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1443931imm; Wed, 26 Sep 2018 18:42:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV62df6tn/vbkglA51tO0cPy3s5Ast/Y7wb9eV79dpuwAhcXPYinnc9FaVoMYlClMHVN8E9nP X-Received: by 2002:a17:902:bc4a:: with SMTP id t10-v6mr8591622plz.66.1538012526847; Wed, 26 Sep 2018 18:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538012526; cv=none; d=google.com; s=arc-20160816; b=Unel8tiKEnpeq2QW1IOuXYCeLBPzUDbQP1azTPftda3dQrUcudhQ/YJKAa184CpTdg 0MJIJKLQV+I+b806pDk7cI4FWHHBnTLM7ShPYDeKGSSZlO/uU1Ry4lqIzIdJCvcYg/W0 3RT0UKumZKPYeBP5tqKjZc83j98y5PtopOTVfFJaqsOPAxc7lDaTMjMFUvi81u0ton9d BhtLJfJePg8EweGwXNQUVDO7fLA4iHosm7tmb6mRra8j+FArpKUXIN15N8/DgYWyHZ1t kWTLG+hytAzNGMeXkw3p8JY8mCEXu6qK/knuQzpeciKJllG28fi5S3QoFPa4ivWVKwNc V9LA== 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=RdaIapnVNxK4XUnpxpfxsKAipkP6N1CQ6JQneEwWlbA2zXkPdOL35kBbHROCsiqWUG nVcQvZ3Yikl5s4aDfy4iV48IEV2H9Mg/y5XVpdZTB/cP7C3kX3dfSHp00chOOa2j4mh5 z78VSmDTPi61lOmlRQtlXVHqxz4xA6VS3vL+QCEzn5MQFNuFEUoA4CtpVIMcu1sMWGyf VkiNQmjD2FMRgmWIvus0iRCqVByAejpqS55SKdt2pBGT6t54pKWTVuabWgytGzEEV9ft X9xesdHZes4zY9pwxUlsl53kGHluKe9v3ywMGG+U7BprPkGked4Pr7EJsN8QbqXz5HXD +MWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vFWCvQa7; 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 h86-v6si647522pfj.120.2018.09.26.18.41.52; Wed, 26 Sep 2018 18:42:06 -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=vFWCvQa7; 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 S1727259AbeI0H44 (ORCPT + 99 others); Thu, 27 Sep 2018 03:56:56 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41989 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbeI0H4z (ORCPT ); Thu, 27 Sep 2018 03:56:55 -0400 Received: by mail-qt1-f193.google.com with SMTP id z8-v6so1066513qto.9; Wed, 26 Sep 2018 18:41:09 -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=vFWCvQa7tnqThSyIg61h11TzRYmazLFRVMagQ6EeYcNXsxMo4Wn9ZPlhVcIz5uAbTj aMXaDWfJupnoVdoged8/tDjnBoPqtUQHGXmwJiioFlRlKRh+AE9ozyrYl2WUKYMqQAQr nYgum1YolbePHVxfZ6CoR0bqbalfZq+ZMDI/4NPnxmqxj6CxijrUeBT57YLm4U7wQG3W puuLkxbQ7PbI1YElFM96GYy+SRbDIhCz2YYBs9/BD6Y71obgnwidCgDYfyDvzFSPIAIG b8zHD98GA38r2Enwn+U0szUgguDUZy8GHGqUZjUqUZxISXLbAxGYZXx7mGGzplbQTnWT nDog== 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=REjLB42Rh7tBBw2GB02qkJsGTl+nNd9Cllh2Pt7OR9UOFNEi9TxlnwdvrOcYPGsBLZ dkdEky83AjDPluipVNfteQQSXsz2L0O/CFDoDucmVanr+1mtVnQLYoiJ7grvvaoJP9g/ isQ87+bYWXslB24lp8hBWtW0PUhz/DISlqNW85vNfEZ95eioC3hIkpyiSajmzu9yXgSm vhDwHmOsqgdrqKPhQQ9mGeeI7bCfBdF38Zxr1khSMYZoHu6auynw1DjiHooezkvghEyz uUL91V2xWN1M+6bJu3zbHlVp8kdY6xby/qEAnywz8JEmiDXgMPJx+wbsvi3X3acORwi3 ZKIQ== X-Gm-Message-State: ABuFfojRm11lsU6WHabR/6LgtT1lsmPgWseptSEwETRd9KuLelNYbsbX nCkO4wqAeyKBqgJD4AhSGVg= X-Received: by 2002:a05:6214:114b:: with SMTP id b11mr6408094qvt.168.1538012469007; Wed, 26 Sep 2018 18:41:09 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id a187-v6sm400221qkd.47.2018.09.26.18.40.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:41:08 -0700 (PDT) Date: Wed, 26 Sep 2018 22:40:55 -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 v2 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled Message-ID: <20180927014055.GA8980@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