Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp197435imm; Thu, 27 Sep 2018 19:09:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV629MlTYS9OkQ8+ZF8AnLAabEN55qDWh/OPyA8eMN86qPL+SPaMPRRuW5n6LS6nxRKfDuoow X-Received: by 2002:a65:6295:: with SMTP id f21-v6mr13092201pgv.167.1538100581315; Thu, 27 Sep 2018 19:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538100581; cv=none; d=google.com; s=arc-20160816; b=IjOhq+pz+hfdhoOKXm4KtmnmJJy/RJqLvKPh2R0x+VSbOhlBPcqevAJLuPLw5NBHo1 yw+mB8f7ouIg/ADZzb1ocRuwNDe84IHmXzmBlNWnymlPoaFCjoD4ACn/FzNkUz5YHUkA f0TLo5Ao5yX8r8LQLBRb4o+XquPK7kH+2DT8gIlpokrjDSP+LtgGnulQekToINZY96wz BFK8oLLFx7Vi8JwFv3BZQQwpo9Y4ucccdCmIvciRBkUWsiNcvkP57bgqHkQ/czMLbnLG d0SiquunGTAYvOaMVOg3mHkmGOmH5tg6pYsKrlY74HkeqjrBWwGWstTXfMfVNq5rSrDb rxBg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=jwnRItaoV9lJlKIA3UIdTtBCpfKgR15xAw12e2ExvrLoSt5mlCzvHbJzS7+4qNLEzb TfmbGT5Pxt818vEjYE9lybwTH/pUkzsSD5NUgg3nq7wkykYlXeVbbCFvp2veYD56CNAg 2oAs9w6hlWg6AMwv8cEHsyjVvKmgfL5ia+MtcqRZCUrm3Z38znLnaFgDCn9sO1cgFu7d t5kbXV+e/koOnI/xREa4LBUEQ7xormBp66BbixpxkFiIpIQQy9oCdq5pxhkM0Qa48Fxx r/M+6TRx1yq6IMGa5NhDeJ5GxJb1i49odTeAAvZx7U61EX39hbxKOCKJ82Gdf0dn+72m Ug9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="n/uSFHt6"; 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 y15-v6si3782205pfg.124.2018.09.27.19.09.25; Thu, 27 Sep 2018 19:09:41 -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="n/uSFHt6"; 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 S1728898AbeI1IaV (ORCPT + 99 others); Fri, 28 Sep 2018 04:30:21 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:34119 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1IaU (ORCPT ); Fri, 28 Sep 2018 04:30:20 -0400 Received: by mail-qt1-f193.google.com with SMTP id x23-v6so5084871qtr.1; Thu, 27 Sep 2018 19:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=n/uSFHt6d+HCUETD/614yqwcizWwVLls342kxJhg7jvzKajBcriywXtRgekX3nkOLb ACtKZCqOmYCX47uywr+QcDecfTemGUKAeroLZlgV7T1iIZBGhbPCHwOenZyI6o7CHHBP 2C5KTzrn6qnJLESQ5YDu5X9CSCDoPHytvHu/yIZBlsdgWaJSWSL8nxQS36jSjIPpuCbX QyMEK5kxb9LMPJB2vaRhr5xO2U9m3U9nBAQy9l8uCFHqpkDqu0C6a7qXk7rwIM7fP0o4 iJupUc4+1P23OxonbcvIrioDXN+CAogQcOlNL9FpbzVR4b8DT7dIRzwWcKI+pqSj+68j JM6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=FywH483DofL75a8gTF55g7AlOwoXZGkHmhLulbbTs/bt+Z6w8ktqR8tO1UHjm/kpfD z7O7n8pvMuddJjl1h/d4t3ViI95SPKmHmpPneS+H2Oxn95AjiXIctrxGYq81/ZB+vh2y gGJlaK2W9aw7TQ6KNIYn9XzVCvAU7zkxBBkeCCfE0wSXHh/KE9gO7REEUimBFOltLCo8 gDQpLA8x2APW7pQLIwJAFy+RiaHg1m0gyQiQnFqDTA6VvxvMr7u5FyJsIOQsJWsTH4xP RheJR1RPHINkLbbH2wZX6PAvrxcRkIJ6mLmoNnLjUW+auo7m4GXzgXwyiC01s6ep5P43 tqiw== X-Gm-Message-State: ABuFfoirkTkOkxv6laJ/zrJ0eHLUzQ/4NdBlQawlyWQRjGY85sdld/K0 jT+oalOiq2i/FBxsnOc4NEc= X-Received: by 2002:aed:20a3:: with SMTP id 32-v6mr10391742qtb.195.1538100539239; Thu, 27 Sep 2018 19:08:59 -0700 (PDT) Received: from localhost.localdomain ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y138-v6sm731191qka.36.2018.09.27.19.08.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:58 -0700 (PDT) From: =?UTF-8?q?Leonardo=20Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?UTF-8?q?Leonardo=20Br=C3=A1s?= , 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 Date: Thu, 27 Sep 2018 23:08:13 -0300 Message-Id: <20180928020816.11251-5-leobras.c@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928020816.11251-1-leobras.c@gmail.com> References: <20180928020816.11251-1-leobras.c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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