Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1444052imm; Wed, 26 Sep 2018 18:42:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV61x7SlAzdlWjLxKFmz/xAOQA6EbXrk8RkOum/KVaxjUEyM2Khfr+G5DAn7hQQjV0L0uGQz4 X-Received: by 2002:a62:8247:: with SMTP id w68-v6mr8642744pfd.215.1538012537709; Wed, 26 Sep 2018 18:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538012537; cv=none; d=google.com; s=arc-20160816; b=fWJXQXmsCjNbf5f1RVO/aPQhEdlit5vup4MR9EEYDNIVo5Vk+Z1q/qZeIXy3wJjWXP rdEYFcE9dOQl6DFqIqbnoEWJtbU7lwXgxyqHeUaNXd/6/cbQFb1tiE3q9n8nx7mc2VHX y73tT1V8rhtm6opyf3AI9w0ASzNnYhKQPDg1XTJMI+JlLjmdBBcosK6GBdYb49mq2bn7 1Hdeh0p0GBl6RE7xXi7ebva/MUJI1yRp4Glrk0VcWTqADh9dOuG0tZDYLgAwwF/5U2uP 33fsJhHaPS40v/IfdeM2JSnPzb70r4N0Z02MviZsbGUUPq026L2s1W8dzyCd+nA0Yv1u zngQ== 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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=vP/os1YPijTPEkIlJo9NkkYhaZ6eAhIelgh7uiN/tGTz4+fnrl/ZJzqEM/K4be38Kx sQJsftUn3My8b8DXrBosH1DdLohpMGTSD8kYselzbVFB+coMfrfkv4zig2sEH8bS+3I0 0odrtoWsPqC5BUaKDZv4e1NwNm2gy2YsUE14KqJLh7vDkrdzOpRpDp2ONeRVnss3Wdxd GrzldY+Y8CSfp6s0JxHpqvvYKvyL+LaIfMzZ0sY7C6Z4g/vw+yp01aBQBbaHLwvfSggD xRXMQ/j93Ib8S3HcZw5V8oS6DAD6u+H6jWVEDKrYL5n5OFNW3EjZs2/5Cp8FbAAgZU3o fHig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ur1ZvkjR; 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 a14-v6si682530pll.228.2018.09.26.18.42.03; Wed, 26 Sep 2018 18:42:17 -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=ur1ZvkjR; 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 S1727372AbeI0H5O (ORCPT + 99 others); Thu, 27 Sep 2018 03:57:14 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:33360 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726659AbeI0H5O (ORCPT ); Thu, 27 Sep 2018 03:57:14 -0400 Received: by mail-qt1-f194.google.com with SMTP id i10-v6so1132004qtp.0; Wed, 26 Sep 2018 18:41:27 -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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=ur1ZvkjRUXOqVDnp6VeaPbI05opelG949PtGWPZmLOV4lvqrnb05gsnj0ApFmmIch9 pEhIGstSrm6PbM/e+/3nImbuj7Hh6NDW/w9HRYTkRix6ZozRxKTLZQlnY8p3+fYq4xTR kRBriwslUg8Tq+J4tBAr9bDCZjvRqxWrz4h9gw3WecHJDI4Cvz9GTJAskURF4Gw/r71f sfteDTGqCgygjLOrTNXeOmvvB16LYXAom2bpiMwWLXYt8t0h5O1TrhuyAMaQ3Ux6x4f1 tHrkTw3nY90YqN+nJhgZden+VaBOCdzbyPDglq5QqxvL1dwRuMnDF1Au3Z0Vj75gcCyJ kaRg== 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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=AM/uuiJklsG4lKtYDEsIzVSgHJpsdZefOn5x2ZbXZ0VBHnV4JOs+C3azCerswnfcQ5 6GONqQo3lo8njcocjTMWVr5QgpTvHx99dGhUEM2do3IoyKB26O2zuaV/2DupEG83PtqG N4kLdxx/uNprTWiXHFELwMWuV3W3F2QEP9WLLZHnfeb56JM8O27u/01BShobwzquikoS N8eWuzWa/3a52nfVuIUnHWaT6TF4VcVC2lFFeBI2ckcxLMcYOZ8HG0J+SNuped0+D4dS MnnSGyi7QV4oTPdh/EPi8nRMhDsiDMfeRHlUA2T7NTgd2Jkn7ebxOXYLLRAXNKBjIWI5 fUkQ== X-Gm-Message-State: ABuFfogCCw/kX0UUcqySfy14+HUQ5MesBz4Qyft0QdctI4m8p4skUdlr D0tMFmopOH8ebvNIng+EfPg= X-Received: by 2002:a0c:b145:: with SMTP id r5-v6mr6367391qvc.97.1538012487098; Wed, 26 Sep 2018 18:41:27 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o7-v6sm463119qkc.67.2018.09.26.18.41.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:41:26 -0700 (PDT) Date: Wed, 26 Sep 2018 22:41:13 -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 5/7] drivers: s390: Avoids building drivers if ARCH is not s390. Message-ID: <20180927014113.GA8984@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 s390 drivers if 'make drivers/s390/' is called but ARCH is not s390. Signed-off-by: Leonardo BrĂ¡s --- drivers/s390/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s390/Makefile b/drivers/s390/Makefile index a863b0462b43..0575f02dba45 100644 --- a/drivers/s390/Makefile +++ b/drivers/s390/Makefile @@ -3,7 +3,7 @@ # Makefile for the S/390 specific device drivers # -obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/ - -drivers-y += drivers/s390/built-in.a - +ifeq ($(ARCH),s390) + obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/ + drivers-y += drivers/s390/built-in.a +endif -- 2.19.0