Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp184558imm; Thu, 27 Sep 2018 18:50:52 -0700 (PDT) X-Google-Smtp-Source: ACcGV607odZnShiWUo75z3bfGTudLJNTt6/gRG91tyjp6uTOAvZz4Vkzs0yb1wVyBlgeFnB1WjI0 X-Received: by 2002:a17:902:6b09:: with SMTP id o9-v6mr10086286plk.316.1538099452700; Thu, 27 Sep 2018 18:50:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538099452; cv=none; d=google.com; s=arc-20160816; b=0EeF4wZBlE/qSFOL2F8A9ZytElIk76nbv0hzrN4+iM0i2dQXDUW943IPPTGrg0px48 +2ikEbm/cNRKp7S4CKDhMXJgC6ZRwXx8xLNbQfncqhVtk9g3++fS0SB18jClGBgn62wd /sB8xKTNsCyZdw9DYwmqNsqEAfzKIBVIBrqlJrYWPbjomYJbARkCbEk+Da2LSGm9RQiX tFUEKXKDOG882LZurgQiErSBGC22/QQx5wtos3kc/9QOpir4NqTM1hcYG6ZdChHsrF8n izvTG6RMIwJPK3k2WcSG2wLfE75vvrPthO5IaH/RZFFLhN5oRjpCUU9rVXyXmdvohhTb dpow== 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=kBg5kI6lV/f2iHIL+wbeVO84FlbdQXgyIN/j6upMy4RNeYK/lFbzvHF4JO/Pp5rC8q Cb2tGqBixBT0cz5budQ1U5o6+fvsLYunY/wbP7mO34OcY96JctwD5FSDt5AOna041bMb kmLiIivudx1ivJG9rQfkic21/oOG+Qc7zc/0h38GRsr8RnZSFwevqM8ybUxO6S5FOavW m4oEXawZA2iF7+aweCSlroneumfmNy9Q4i8jaizN4FA9pwODgmvGCotrYH8NTgQ13VOI IbrdLK0saPxY+adPIa1fY0wVEL4YOjQgScFfqpy3lELXIYmdVC2wlHvzN94oQLzHfR9v 1j7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c8SZdRT8; 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 y4-v6si3518144pgo.390.2018.09.27.18.50.37; Thu, 27 Sep 2018 18:50:52 -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=c8SZdRT8; 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 S1728806AbeI1IKO (ORCPT + 99 others); Fri, 28 Sep 2018 04:10:14 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:35534 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728742AbeI1IKO (ORCPT ); Fri, 28 Sep 2018 04:10:14 -0400 Received: by mail-qt1-f194.google.com with SMTP id z14-v6so5050076qtn.2; Thu, 27 Sep 2018 18:48:59 -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=c8SZdRT8uG27oQeqK7ZCzA/WksemdQTwt+kyyR+bEonEmei04H6YjdDbDlg2122FOG T3cYP5zY0QTnz1iQaI24ZuCYzlIrFldDqR0TURihKRKun59nsNfPYbA76y8jr4BddIsV y6XRn0ZBykh9amdfA0EMnSPcKd6pU5gl9k4SEXXPzIpUtk5wC1riIQrQ1FHfqVycvMCI W+R5Qf/6WQh/57idCg4ZF4hE8OAD0lcvCWyrg4cEn6evO4i7PO83SgmtNK0XM/PUPkPg 6ifNF53OjVGuim2OtRj7lEfYcpi534CAF54EO14KGsfj5SBYZLT8vPD591b3bSWSWZVb aIHQ== 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=mb2ZZyxjWVMc074eNO0ZPMy0s8RL6b1NiN7we7vAX2xMEvHh5swh3OwaxlMWZue4bA c0HKoh1RPCcTi/2WZwTfQQpR0Fm1OmwiHufFfuDIBHFeLCjYU98RSTuhY1kyqgXzCc3+ 9mhND/2z/km1d4zIqpA2U/a2AM8TX4TzvKwOSDe9SeDVn4nhNFCBVup9BV+EpFHzXVOR 6tzaMWXIWAS9SxcUZRxMfHHFyrMFXk6kfb6sZOrW/kfe4gG3CBYyEBZR2OLsM+T6xQWX pd7BuXFN8RUAjl1OY8bG1Sz/FPlfD497dDXvfJMYuUED73BxZmiUsqiAd5jx1+tJBtKw +gqA== X-Gm-Message-State: ABuFfoiy5RYHexy5n1pTrMfq2uOqJUMfHjgy7dvCEM1kbSR3D7Td3Nm8 oeeSj3peeVBGOY/KRbXDlMXOa5CE X-Received: by 2002:a0c:fa52:: with SMTP id k18-v6mr2522052qvo.170.1538099339271; Thu, 27 Sep 2018 18:48:59 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id x76-v6sm2282427qkx.25.2018.09.27.18.48.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:58 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:50 -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 5/7] drivers: s390: Avoids building drivers if ARCH is not s390. Message-ID: <20180928014850.GA10508@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