From patchwork Thu Sep 27 01:39:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9EA1A180E for ; Thu, 27 Sep 2018 01:40:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BA472B37B for ; Thu, 27 Sep 2018 01:40:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C3932B3B6; Thu, 27 Sep 2018 01:40:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 301902B37B for ; Thu, 27 Sep 2018 01:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727085AbeI0Hzy (ORCPT ); Thu, 27 Sep 2018 03:55:54 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:37507 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726477AbeI0Hzy (ORCPT ); Thu, 27 Sep 2018 03:55:54 -0400 Received: by mail-qt1-f193.google.com with SMTP id n6-v6so1099911qtl.4; Wed, 26 Sep 2018 18:40:08 -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=Ig8aYG+bq8ur+x3OT7VAaBFbnTbtP5co/zowmafEj4M=; b=bqSt14mH+2i9+zp4UOK7PpyLoG0psKx6j3C4hWCKigxOXBO0lHU+8nztXYaJWAwOq/ wPQeVlT5KhXzETwX0egubL5zsDtqL7ZoAOHblp4Hp+840D0xfuAEEhhxLGyou66oJ71T pO0L8PQd4HXNv9uxI9Yj9nc7ZpKt7Xp7fLDRDrGecZfQCqX+KjcmvoznOLmF+qBaG7PO WF4/Fk6CJNuGJs6LjDojt5Eoqn6XbWTmiiVfXLac86u0+OIH993FIEstScFneL1p+2Jv 93cBFZEkKrbUcNyqDOIrFEKZG8g8bL6n05EerYC6AL3HUQ/JMFrGWvAkiX+5sHTmArxH zW/w== 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=Ig8aYG+bq8ur+x3OT7VAaBFbnTbtP5co/zowmafEj4M=; b=Xynor3n0ZJR5AYQwZ36+EoGV/9SYQ4muzdkOiviltolQL5C1IWku7rM3VIsYfDU/MF 1p+Pvk23eStq2m3V5S1jrjzd9rJTfIUboEnyqj2JssMFfuiPsi1e2iyxuGri8Ec5Y7Xu Bfg863/Uos6Zba+U54Mc7hopxoTz3xOvpcFOh05fHiOI3qYKI4hTOHv6qIoGOww2KraM OroQbDPl6mARzIKFGJeS4ZQVxLj9s7xKee9Ujy4oVhe4aijbbyb2WIR3qfLEAaiZP5/1 fk5feOMCYfqnC84RYxiBQFAK2X/suWR0rty5OeQhSash4TuaUgy/O9kzeRGJ1FAAlHIy X+Qg== X-Gm-Message-State: ABuFfoj78lnTcXqm3D9nl5DPs3J6NTeUX+bNeIWUGvjVS3WT3FVt2nAa EY1OvUqHtJO31ZcxDFz9Rwo= X-Google-Smtp-Source: ACcGV6309DusnbuhHD0Ny9IZZB55hmhLj9RQMOGISG6Fye8zX2V/LyUnTxIvzv840osoQU7cweW7Ww== X-Received: by 2002:a0c:d2d3:: with SMTP id x19-v6mr6536821qvh.104.1538012407962; Wed, 26 Sep 2018 18:40:07 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id w5-v6sm454871qkw.69.2018.09.26.18.39.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:40:07 -0700 (PDT) Date: Wed, 26 Sep 2018 22:39:56 -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 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180927013956.GA8956@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoids building driver if 'make drivers/dio/' is called and CONFIG_DIO is disabled. Signed-off-by: Leonardo Brás --- drivers/dio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dio/Makefile b/drivers/dio/Makefile index ae92d17083f2..f5cffe232448 100644 --- a/drivers/dio/Makefile +++ b/drivers/dio/Makefile @@ -2,4 +2,4 @@ # Makefile for the linux kernel. # -obj-y := dio.o dio-driver.o dio-sysfs.o +obj-$(CONFIG_DIO) := dio.o dio-driver.o dio-sysfs.o \ No newline at end of file From patchwork Thu Sep 27 01:40:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83BF4180E for ; Thu, 27 Sep 2018 01:40:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71E402B37B for ; Thu, 27 Sep 2018 01:40:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 655E02B3B6; Thu, 27 Sep 2018 01:40:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EADD2B37B for ; Thu, 27 Sep 2018 01:40:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726947AbeI0H4P (ORCPT ); Thu, 27 Sep 2018 03:56:15 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:43540 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726962AbeI0H4O (ORCPT ); Thu, 27 Sep 2018 03:56:14 -0400 Received: by mail-qt1-f196.google.com with SMTP id l16-v6so1061541qtq.10; Wed, 26 Sep 2018 18:40:28 -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=az4VG2kDleDEIQbELh7WthCOA8Gd6LhdwtP9/ZvOfHo=; b=Tza4NE0h50eH0auHPhztiJ+Hc18T1byxhVMJvrgmR41lBE8Gsz+Yyq3rQ7Fm1WeJle 6BEgR6uSENMVaMe/EdYweeoLb2q2ly7FXiBSrVm2O3k2HG0XJwM+wNanBk5J2VqIMMzU 0ISvQW+JHh3CzxBqEi8yMN/qDOgr0ebkEhoId+I7KHwuANY2LF8mAloDJ3p4l+pwQJtF d7tcohjY8Lf6vIJxwSp+EYR3ATRgOVEYplhMeS/OimFF/pUnA5Vz/OUvyjBhC/4IJMER 4mSgq7rhEddv8Yu2JUABr2fJb5Lj7IDQiIZX6ZEgKP5992UfO8Por5EC7yoa1sFnxZr2 EgGg== 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=az4VG2kDleDEIQbELh7WthCOA8Gd6LhdwtP9/ZvOfHo=; b=uKPhu0WDlbHGvJ/kxGoqb63+htaEv5r2ra/JNTD8cpk4SH4k+XRlVYKNb5zNmR6Fwr EnzIQmoYfsxuUuunOJQKpQrBXlabyt38R14QI4Gsaw9Zn0ngDxIZdGTxB1Cr9yGhySsQ V1EBtVE9aQJA2SiUZStSPXczDDkE+GiyL1r/IZBgnYMaEjZCb1F7qlWzKl9VVWBBJOtA tuYhaRlMYnuIXvKSsSEuBFI2ufWxs1yNy0oHr+C8+FRU2cle2ow3aLnaSpfqV9XHQQ6H gy/1DqhyPtiUm1q5hPP/vNzR5RBpTGfzbsD+t8CgHCxEPfCyRerBwkywP8PMp4E22FdC nlbw== X-Gm-Message-State: ABuFfoitayanSTzwLUocW6anTIqKZbKNOrFQech0IBk8m9rdCp7QZG2I NQu/TFBwWkv5m1rYds6qDO8= X-Google-Smtp-Source: ACcGV60ZCmvvTLVdxyo92oRKYJ8V2Bh8kTpd1D9LF4pjui2+sHZERtQvn6MCnlk1mVOnrKrfRQkCFQ== X-Received: by 2002:a0c:e80e:: with SMTP id y14-v6mr6394038qvn.23.1538012428501; Wed, 26 Sep 2018 18:40:28 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id 8-v6sm488422qtv.38.2018.09.26.18.40.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:40:28 -0700 (PDT) Date: Wed, 26 Sep 2018 22:40:14 -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 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled Message-ID: <20180927014014.GA8972@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoids building driver if 'make drivers/nubus/' is called and CONFIG_NUBUS is disabled. Avoids building proc.o if CONFIG_PROC_FS is enabled but CONFIG_NUBUS is disabled. Signed-off-by: Leonardo Brás --- drivers/nubus/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/nubus/Makefile b/drivers/nubus/Makefile index 6d063cde39d1..1daa51217e95 100644 --- a/drivers/nubus/Makefile +++ b/drivers/nubus/Makefile @@ -2,6 +2,7 @@ # Makefile for the nubus specific drivers. # -obj-y := nubus.o bus.o +obj-$(CONFIG_NUBUS) := nubus_all.o +nubus_all-y += bus.o nubus.o -obj-$(CONFIG_PROC_FS) += proc.o +nubus_all-$(CONFIG_PROC_FS) += proc.o From patchwork Thu Sep 27 01:40:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B168C175A for ; Thu, 27 Sep 2018 01:40:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FDEE2B37B for ; Thu, 27 Sep 2018 01:40:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 916A22B3B6; Thu, 27 Sep 2018 01:40:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4790E2B37B for ; Thu, 27 Sep 2018 01:40:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbeI0H4g (ORCPT ); Thu, 27 Sep 2018 03:56:36 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43437 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726698AbeI0H4f (ORCPT ); Thu, 27 Sep 2018 03:56:35 -0400 Received: by mail-qk1-f195.google.com with SMTP id v18-v6so609879qka.10; Wed, 26 Sep 2018 18:40:49 -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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=j1VkSiCnXyZfqRMkSeVVgvvQLIikE6B2suoNKKz1wXo04RnDKfr4ACq7zBtMu/5oZY y1fyXZTWcNCHwS7+eodRGwJo2AitCsbpBFPWTYK8dMuzjkn+dAac1kmCHptrWdyBhwTJ D0OMQxCi5ag8Ac6o4ICn88KDI3YHm89Z6Z7px+61LKlCjQkTGHeg7A+veHj0MSz7zNgb tJhjtD5Fes7lP3VOBvPIILN0RkHHmf8xcDC8yMe8+DnzoAuCcxcxrAQDWBrGBTTy+NO1 KXga19G+gqoT/7838MCeHIDJuDwl2vaE0nxMI7RcuhwFAOgRBPYeGxWz1VgU2byK6RK4 5rXQ== 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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=OD6C0M0m/mFsP8KBtkT1ytprkQdPzAYV01HSJ44BXhIOryuHkS/UeMZEb2Z2i5CE9E qK2ScckHN2bdloqr/f5U6g+4f31C070so+gXm6Oe8kw7rXjATEExgxiUSdVILYeuQIcZ Evhk/HsZ+cN6FYoVC2b92qdjYPpDWEvD1MBC37gG8m3I81rTYIzkgPDF9iLyEeID053N mmGTQE0oLMuIaUljKFXAHZ3RgsK9R1f2xxymZd/fvIp2JiY/kmH1xOIQI6iJNrC+xva5 8n9jH355yg0i4CmPR/0YcXFDIuBjh36gPqHFoMwTeRHkq6m2YPvu7e4E0BWZY800l4IP iZXQ== X-Gm-Message-State: ABuFfojXXlTo+n3OVKV9Ipv0LAP7i9Sj/G9R6vvwZDHCuvraQT+7oVgt xlDPkU+P0iegqqjaQSC+zk+9lgvI X-Google-Smtp-Source: ACcGV600fnGzHAFuatXk3BE872ZM2CO6bbt5pEab81Vus8WP68KAfBz7h/a238QavPxTAA3imkd65A== X-Received: by 2002:a37:f42:: with SMTP id z63-v6mr5847447qkg.132.1538012448900; Wed, 26 Sep 2018 18:40:48 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id 141-v6sm373802qkl.31.2018.09.26.18.40.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:40:48 -0700 (PDT) Date: Wed, 26 Sep 2018 22:40:37 -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 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Message-ID: <20180927014037.GA8976@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoids building driver if 'make drivers/parisc/' is called and CONFIG_PARISC is disabled. Signed-off-by: Leonardo Brás --- drivers/parisc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parisc/Makefile b/drivers/parisc/Makefile index 3cd5e6cb8478..80049d763aa0 100644 --- a/drivers/parisc/Makefile +++ b/drivers/parisc/Makefile @@ -24,5 +24,5 @@ obj-$(CONFIG_EISA) += eisa.o eisa_enumerator.o eisa_eeprom.o obj-$(CONFIG_SUPERIO) += superio.o obj-$(CONFIG_CHASSIS_LCD_LED) += led.o obj-$(CONFIG_PDC_STABLE) += pdc_stable.o -obj-y += power.o +obj-$(CONFIG_PARISC) += power.o From patchwork Thu Sep 27 01:40:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617141 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80601175A for ; Thu, 27 Sep 2018 01:41:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 700ED2B37B for ; Thu, 27 Sep 2018 01:41:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63E012B3B6; Thu, 27 Sep 2018 01:41:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BC6D2B37B for ; Thu, 27 Sep 2018 01:41:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727212AbeI0H44 (ORCPT ); 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-Google-Smtp-Source: ACcGV61TjBaHQXV0tUSKpRxUZWHrTiGPp/X8X64qgxOPcCcI5KRxNgoxsXZ8jZ3zCcb+02R0FvB+oA== 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-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 From patchwork Thu Sep 27 01:41:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FF2C913 for ; Thu, 27 Sep 2018 01:41:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CF9E2B37B for ; Thu, 27 Sep 2018 01:41:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CC612B3B6; Thu, 27 Sep 2018 01:41:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6BE32B37B for ; Thu, 27 Sep 2018 01:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeI0H5O (ORCPT ); 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-Google-Smtp-Source: ACcGV635gQaX0CnFQyT2kIQ+eG4LOHdwks0KjhtZuZCAYqxtfgUdc1AMpT5ZOXrtimSaq+TGYVuKjA== 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-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 From patchwork Thu Sep 27 01:41:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27092175A for ; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1542D2B37B for ; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08DCF2B3B6; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B715D2B37B for ; Thu, 27 Sep 2018 01:41:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727197AbeI0H5h (ORCPT ); Thu, 27 Sep 2018 03:57:37 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:40936 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbeI0H5h (ORCPT ); Thu, 27 Sep 2018 03:57:37 -0400 Received: by mail-qt1-f196.google.com with SMTP id e9-v6so1080432qtp.7; Wed, 26 Sep 2018 18:41:50 -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=CzCnr08q8AXxDBV5AnX5g7J5d+hw/S8rc+cNPIu4E30=; b=ShiyD3UtGnwft2HaEDtEh52aOy7+HNXwP5G3zf26dcF+t+0ofNxJsAblVBFGcHC1Zt AOkyu4MqymOfg927YMI36Z8l/gtgou1t8ILusRRh+qNosvPwpGLSr48ejYNmseREE4Zr PC3alx3s0uR48oWqBqHOnmcJAgTIu/63oIjbMRH8lA8fNLd5vWZhyVFFjOQ7fRG8jqjF wEIRISAUAJno26gq3V+ZnrD+clCVPb7kRYA9Ho7cYf9S8FhJKrcUTWiIv2mRwl4YOzdF RQsHOGnWRlO1uPDG74ycjViokRMZi3FBowlkT4KUYthxsnCvcrR1A1tRspHURmTEnYlZ tqRQ== 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=CzCnr08q8AXxDBV5AnX5g7J5d+hw/S8rc+cNPIu4E30=; b=SZ8no6Iu6ePXTS4VHCz2JncxYCPb8Te25M1bqHhPJHA9JGIFaYg+dFosQUfLXBt6nN PnfuWMBfjmHVgmFw244WOYAzWWReHOPtW3QqoL01S3FO4r0VcMk2RPga24vqycQ7tPe7 ibBUjb3qfUSoWCN1VLAn5HUXmpLFsPaS5UuaEqjPBrXs+waWmGo5fK06oLl5WKs0gc3y E3ZzVk4AAN7qFHJEY5bJEPyZbbTbD0FuGGc9yzZ8zVQwnW6IUQsgh8FdBMmjN039L51G KqR+AS99TaPpXNpl3DvpL/6ToaisO0pWA9Xw0UR2zc9sl9eE8NyV1wwLf3pubAwNqUJB ioXQ== X-Gm-Message-State: ABuFfohchqQUVVjfEYXt7Q0KCPE9OwoI6I7tmqQchVj31s0vrE7a4xxZ tYCllmQnO6llVSGYre9QAok= X-Google-Smtp-Source: ACcGV61guLxOorFBKyrdykcb/srxmdUkw5Bb8MOLQmA8CejweC/0gxD4XEKssPdEGdo5id1Nhru8/w== X-Received: by 2002:ac8:3f56:: with SMTP id w22-v6mr6980214qtk.151.1538012510418; Wed, 26 Sep 2018 18:41:50 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o2-v6sm438617qte.16.2018.09.26.18.41.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:41:49 -0700 (PDT) Date: Wed, 26 Sep 2018 22:41:38 -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 6/7] drivers: oprofile: Avoids building driver from direct make command Message-ID: <20180927014138.GA8988@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Creates new Makefile to avoid building driver if 'make drivers/oprofile/' is called directly. This driver is usually built from arch/$ARCH and seems to have no meaning building alone. Signed-off-by: Leonardo Brás --- drivers/oprofile/Makefile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 drivers/oprofile/Makefile diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile new file mode 100644 index 000000000000..acaed2ad6eee --- /dev/null +++ b/drivers/oprofile/Makefile @@ -0,0 +1,2 @@ +#Does nothing, since the source is called from arch/$ARCH/ tree. + From patchwork Thu Sep 27 01:41:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C724B175A for ; Thu, 27 Sep 2018 01:42:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5E9B2B3B3 for ; Thu, 27 Sep 2018 01:42:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9E442B3EC; Thu, 27 Sep 2018 01:42:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B2902B3B3 for ; Thu, 27 Sep 2018 01:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbeI0H6C (ORCPT ); Thu, 27 Sep 2018 03:58:02 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:41570 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726948AbeI0H6C (ORCPT ); Thu, 27 Sep 2018 03:58:02 -0400 Received: by mail-qk1-f194.google.com with SMTP id n3-v6so622671qkn.8; Wed, 26 Sep 2018 18:42:14 -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=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=bPaqGZYQVSwfK131ivTOy9NJoZHHfv8fWF5x5Bpce/ydhsq8I2QQbMkJcOOabbs+x/ ZuAtrudjfCSVlEElbTk5yuNDfNZpmNhwEn2a7Ck1Gvg6Z4ZE55AzaiOmjr8wOV7PrQbh J3p6B0flIpPJwIArcPRBhPbCO2/a7DE260YMzZsrExSFqGr1u7yI/2CY9Vr4TAGYBA3S 8fwuASzF9RXqdGA97p6/oF9p38m2bj/NZDrjwqZVQI+BbKeWIkRvIVXUuo2crkG3SwBN q7yn9T/QUQJPHJFpt8N7s3sB+8kUlkpmzTbQpQk9/SiYnE7jOniYECZcbtLtHoiHhtMq jZzA== 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=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=RF+Kai4Mxm9boG5HVgg1FUea7vAAlZ+dLLnv14K0TXhsxuVL6LDGerw4IbgtMBqa8c YHUfwULbQCCrAWP8U5yu73lx/8surYkmJXxnKh/Pn2XFjlKd+VFOnYu+4jAThBOnZxPO yqnQcs39dpUAAgHPtKyQ9zJNDfXLMGG32s0qNX0mhHbohYeWso+lkpGalrqAnqGyUkcB lHqmh3znMe2pEppWf3Pr62ltWHDk43v+10QRb2lHwxCQ1hWZJpWG0CrUrXeegodSGWkH 97a2MloUQ+H2sRnWdROS+zwutnmTmIBBcfl1BlTWCJmXSRWeG7mN0d0Nl2ZdPKMDAnO0 6XIA== X-Gm-Message-State: ABuFfoiFeg6Aa0E1nzcyyIGPfDjUMGCev2fSDT9zCXJiCNPCm/zdRE9q nC9N7cHr+Gz3A0/zyoneTXA= X-Google-Smtp-Source: ACcGV61LGXs+2y3kISxKIFoduBXqkSGbiqgkp4koU6VAU/V2k68kEkp6HUFlwzUTuE6jW/ZuqCY6vg== X-Received: by 2002:a37:bbc1:: with SMTP id l184-v6mr6415136qkf.111.1538012534356; Wed, 26 Sep 2018 18:42:14 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id s64-v6sm362867qkc.70.2018.09.26.18.42.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:42:13 -0700 (PDT) Date: Wed, 26 Sep 2018 22:41:58 -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 7/7] drivers: hwtracing: Adds Makefile to enable building from directory. Message-ID: <20180927014158.GA8995@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds Makefile to enable building the driver using 'make drivers/hwtracing/'. Changes drivers/Makefile to call the new Makefile directly. It enables user building this driver without building the whole drivers/ subtree. Signed-off-by: Leonardo Brás --- drivers/Makefile | 4 +--- drivers/hwtracing/Makefile | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 drivers/hwtracing/Makefile diff --git a/drivers/Makefile b/drivers/Makefile index 578f469f72fb..a237be6b602f 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -174,9 +174,7 @@ obj-$(CONFIG_MCB) += mcb/ obj-$(CONFIG_PERF_EVENTS) += perf/ obj-$(CONFIG_RAS) += ras/ obj-$(CONFIG_THUNDERBOLT) += thunderbolt/ -obj-$(CONFIG_CORESIGHT) += hwtracing/coresight/ -obj-y += hwtracing/intel_th/ -obj-$(CONFIG_STM) += hwtracing/stm/ +obj-y += hwtracing/ obj-$(CONFIG_ANDROID) += android/ obj-$(CONFIG_NVMEM) += nvmem/ obj-$(CONFIG_FPGA) += fpga/ diff --git a/drivers/hwtracing/Makefile b/drivers/hwtracing/Makefile new file mode 100644 index 000000000000..fe5773caec49 --- /dev/null +++ b/drivers/hwtracing/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_CORESIGHT) += coresight/ +obj-y += intel_th/ +obj-$(CONFIG_STM) += stm/