Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp197714imm; Thu, 27 Sep 2018 19:10:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV611DH/Q2S8r/ejTZcBFbKDp4PFn8g7trVHB7TKFO7BzBiMAzCjSZ+68Ss02+3LtOc9fc6g6 X-Received: by 2002:a63:2acc:: with SMTP id q195-v6mr12655838pgq.291.1538100609230; Thu, 27 Sep 2018 19:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538100609; cv=none; d=google.com; s=arc-20160816; b=sr5eVDZwMldnokcY+fjLunRrA3ieAy1ZbUO2wkKDzug4b7gRjQCWX11u/e0xLWVfmi dOH+OGI/6A80lmTkvowwCZqwyGROAQcCKrUumCIE4w22eMLse2DvSDEVONlFQL0AsIkK TtHKjp4qVAds4k+uUlHmEB94rH6LfC5af3H0TA+atzLmj5/H5OagV6pAprkRiKpiTNv9 MpOgi5OKtbS9zHqZduieFR7vOToTvM+qzswo/AZ05mGni+qUCG6/4lZbD1d3aLJAD7X8 y9lRmcoo+9StzbipuxRww6RHDyoOf0TT9KhCvxlRd++DVJUqKudlo3RmtSjCc2bTaTNW 0Opg== 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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=SMKGBUqX72ohslSZP6mrWsRsw5i7S32Sv455u1fYpPNMQ5R0IWnxd8knXgsJ04d4kH TVE0wFlncBcgSjxKmhHjyaNWE+Y65/YwSnDeoGPH3OI22GC2pmljPpuFFok0Co3r0ocx YdENreYlZmHkcYQ8eXNf7P4D3+MpARhzXUHjHZS4OJyn+FESRP1A1hwwi7vm1qFo/sIa YxMQxN9T0MsWLr7v7ib0Hax7H54XmElXNQPqz9EUA7hFicSTEDVRqfDISkyJK9eQLbR4 qbqyGaMYrM2D0ACVg73nyOP7nfUx7dKjt2S1KEjMWOtI0dPtTnVBFltmf89RAQ2pYL8T WD2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CvmFn6I5; 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 w1-v6si3553205pgt.629.2018.09.27.19.09.53; Thu, 27 Sep 2018 19:10:09 -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=CvmFn6I5; 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 S1728914AbeI1Ia1 (ORCPT + 99 others); Fri, 28 Sep 2018 04:30:27 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:43159 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1Ia0 (ORCPT ); Fri, 28 Sep 2018 04:30:26 -0400 Received: by mail-qt1-f195.google.com with SMTP id q41-v6so231120qtq.10; Thu, 27 Sep 2018 19:09:05 -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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=CvmFn6I5WJhu5ZjswWU6NzsS8X94KzBnve8IPgf+Qo6+pGu2PExO5XGt9GjYlBuI6f yB0zavI67z3Rr315H9OjdoAxzOXkapemDB+UbEQ4nR7uWyDe5kyOwt3G4Hk5p3yhbDC7 VFzi5S5oBin74hhJBjZrfFraRA8Xk7CZCc6MMPDptY+iI7gjh2tqqWEOTmbYvlkjW74v Przjh5jnrARDJ/euhODiw8YiBOw0ToWTNDFMM5SSONXmROOfa/oOUaT94qADuvKOiPNJ BDJ9sMRmwUHNSEUCAQMqeY7CJG90IDiOzZ+87daoHoqM/jclAfWRTnTrIioyRDLSCg8Q wn8Q== 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=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=Jlawu+0MZF3ZNrDGOu4VIKVNEDEhh6WpZCkOcmNafm/aVWZkdtouXpBN7D/086jUnp N/kRPXp3s7bAeO0YbgEIG8M6/nNHV+gftaAa65T/XK+KnCWnjotZscMWJiCoaiW1frpE FtezT6PYZYKPsY1bqLZFISEP1+SysNLYy7KPxd9P8nt3Mcnq5ZZ5OUpYdVmFn8mqfuRP iPhzpHr7OHwtIps2zC9m20tBAwXQPqmGX8fZ7MOqcw1vNVWlDTNCQtTvNcdOks69XY5e 4FFEXAetVe9uY0ewuQqrI3azlTZnhQcSMVBHr2M5eCTg9XhovRIiJXtKMOG/Bq+Qof10 yckA== X-Gm-Message-State: ABuFfog3z5ZBhOV6LHRPwBLF9LlpTKEzk4oEozjtU6S3nf7pdPntvo6A At+Z4A0e9vh2OI6ACxCKKjUVwdKf X-Received: by 2002:ac8:728e:: with SMTP id v14-v6mr10886397qto.126.1538100545277; Thu, 27 Sep 2018 19:09:05 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:09:04 -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 5/7] drivers: s390: Avoids building drivers if ARCH is not s390. Date: Thu, 27 Sep 2018 23:08:14 -0300 Message-Id: <20180928020816.11251-6-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 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