From patchwork Wed Sep 26 01:52:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615081 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 0E374913 for ; Wed, 26 Sep 2018 01:52:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F13262A937 for ; Wed, 26 Sep 2018 01:52:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4D552AB56; Wed, 26 Sep 2018 01:52:17 +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 864DB2A937 for ; Wed, 26 Sep 2018 01:52:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727255AbeIZICf (ORCPT ); Wed, 26 Sep 2018 04:02:35 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:46908 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZICf (ORCPT ); Wed, 26 Sep 2018 04:02:35 -0400 Received: by mail-qt1-f195.google.com with SMTP id h22-v6so7671579qtr.13; Tue, 25 Sep 2018 18:52:12 -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=SQjo9PSqRnFTjGgH2n9oA90lGG7neexgSwrXrvCDWHhqZXulbsfqV472Cw11m8SPK8 BjJd/FMlgY0rTFOgdNdPHMCK2GOTm7AXiFW/e790cCgpelFRkHVJqDEe/uWxqA6xgoJq eCsQE7gMdnO6RL1qhkksuhJXS5pDpVKi2xbpml3HGy8GBIhAGTm36FYGjVYY9zU4w80F gA9P7659H4KMUB/ifH7RrA07B7R8U3nzAAkuNhgxYLQl21KFaWQt+RJ7fDGij2f83+Eb tUc47c/yq9N+8Y5255TvYqv/E3CcjegEZwb2g3BXOEiQQp/KSl5FH+QA4gbGqXkfzEZQ 02nw== 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=ZTcmP8DPGW+U8vWs/CIN8wR8pjcxHL+DA+5s1rZqcyLF2h8frVL78gu86/OAEdEhqs 4MrSPbWyh7lEA7BuBdEWOJsYzGQs2Wz0Q7st88f8SMkuF0+HUSRMgzdU//9B22/sfjdu lwSpM9AS5GSbRw41kp4xLPvaV4SufknlAcjWAXvA9JDINzjtgluH0YT5gWEs8ZY6eN+Z aYf2VwuFQ8bfSXhEvQCzbpgRnn6FcAuLDqng43TVJOvTbIa02byaFggpPf1t0Vwn6m1n RY//LMgnP1gA+vqXkTAXJ18EqbWEOtgwrfpvwO8tjIYuK1Lsv0zZcOX3T2cxAIRhI2yN BvCg== X-Gm-Message-State: ABuFfojrau3e323FAlt8UzMCX/w5HGK/bzadWJE1HeAy07+korqW3xbv mC87Jv3MY69qgdQgjj8CljQ= X-Google-Smtp-Source: ACcGV636S5TB9/25jJ2RWfkFsJTbA6+u+VGr/eGvOWtifDzoZFCv60W+8QYuMsVuA8GXHXtQoNy3+A== X-Received: by 2002:a0c:e5ce:: with SMTP id u14-v6mr2771752qvm.6.1537926731832; Tue, 25 Sep 2018 18:52:11 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o79-v6sm3012466qko.89.2018.09.25.18.52.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:11 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:04 -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 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180926015204.GA14952@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 Wed Sep 26 01:52:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615087 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 0BA0C112B for ; Wed, 26 Sep 2018 01:52:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFC6F2AB50 for ; Wed, 26 Sep 2018 01:52:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3D712AB5D; Wed, 26 Sep 2018 01:52:47 +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 92E752AB50 for ; Wed, 26 Sep 2018 01:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727299AbeIZICv (ORCPT ); Wed, 26 Sep 2018 04:02:51 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:43244 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZICu (ORCPT ); Wed, 26 Sep 2018 04:02:50 -0400 Received: by mail-qt1-f194.google.com with SMTP id l16-v6so15139893qtq.10; Tue, 25 Sep 2018 18:52:26 -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=iSiVGxFWRigTCK+0CKFW0C5ujNtzh890wwlh0T9vG8s=; b=ac59sJB30DrbxZJjoJ+rzattfu9sR5VUA2craYN+DGKDQCnhUxIfAzIR2jer1ZAXwQ HXsjNiV8/s5Btwq4LH3XBufoxTV2CMBLnSzr1TTMxJeHIFtN9GUiMsNMuJw8avDObO5d w7r9l3nA6gX+yoTU/SG2pHuXUUt/KxIYhtYVGXOwx3hk95e3Q7qyb//5DfkMbxA3iOZS aARbB/QJniPrM96Hct/XGSdIIsJ1mZu8KzTMlOs2ReW2/JA2lQg599rc+xsmaDO1KkEs p4VAYQnp+mp6wpXMJNxDDkLHmc6vXoTaEOwn+8cKlrbquyE399I1B0sHTu4zPrj8Oq+R rIGg== 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=iSiVGxFWRigTCK+0CKFW0C5ujNtzh890wwlh0T9vG8s=; b=QSZSxoKud3l7qaSPLCYZ7N6XhWjjewndyhwtVCAjRXDX4u0YNImNQPWYeCtuYB3/mK n7g3ZZ7VCeGVHXYuYl5CWO+ckNjNXekfCZQMrAy8+Ad3NfrfZTT/sz2BQTdDeBnOYEGx mQvu7/t30Kwyy3FLe1+KWfnEeNw1WUxcNtwHBW5fAyU/EQlOXrnxIl168PSs8oOr7+EU 3k06tz/8iKQkd5h6b51KkxFge5WJehIePye4bGf+SAlwRRrR6tNbiw3LwnSc7/OecoCd 6v9Ert8ixOXlxZmZeS4FPm6k8oncdHl5G2TxsP+7sqKcLmONWCkA+mBeQMhOdBV9/e7P cESg== X-Gm-Message-State: ABuFfogCNtAuQwBoAHU7Vr2h5jYcLQGq7yuEHdIcQjhJZzGcZg4I42is 3zb1fDdRrlmObJlhNqfD9ak= X-Google-Smtp-Source: ACcGV63kNjGeayLCfRcm2eJdQhEfh20YFCNNfNFEx7MzkIcZhycI/0OtMdKw88LP7iypiLaGdTIKpw== X-Received: by 2002:ac8:1b2c:: with SMTP id y41-v6mr2946123qtj.334.1537926745954; Tue, 25 Sep 2018 18:52:25 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o7-v6sm1916563qtp.75.2018.09.25.18.52.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:25 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:18 -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 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled Message-ID: <20180926015218.GA14964@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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/nubus/Makefile b/drivers/nubus/Makefile index 6d063cde39d1..827301c4a84f 100644 --- a/drivers/nubus/Makefile +++ b/drivers/nubus/Makefile @@ -2,6 +2,6 @@ # Makefile for the nubus specific drivers. # -obj-y := nubus.o bus.o - -obj-$(CONFIG_PROC_FS) += proc.o +obj-$(CONFIG_NUBUS) := nubus.o +nubus-y := bus.o +nubus-$(CONFIG_PROC_FS) += proc.o From patchwork Wed Sep 26 01:52:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615085 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 14F11913 for ; Wed, 26 Sep 2018 01:52:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04E772A937 for ; Wed, 26 Sep 2018 01:52:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED9F82AB50; Wed, 26 Sep 2018 01:52:40 +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 A20892A937 for ; Wed, 26 Sep 2018 01:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbeIZIDC (ORCPT ); Wed, 26 Sep 2018 04:03:02 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:36731 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZIDB (ORCPT ); Wed, 26 Sep 2018 04:03:01 -0400 Received: by mail-qt1-f196.google.com with SMTP id e26-v6so3473968qtq.3; Tue, 25 Sep 2018 18:52:38 -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=Dmhpj/2lW0bjrKhvWrcqZCGz0PJ9R6TwZR+qrE8GZsiRUlnAebtJuen3GXKVB9tJRt qLg6dFqNsrKU5BIq4jpFRQIaeWiluWCsOm1+yqU5OVRLnmZQRPiUscxYOEyTIDMggJRF 3hJI3pSvsyPTuoCqUEmMz0CG7Nne4ZKyAA1IHRUEBkwnrwtxJkAZTTffDN2bQwvZjSs+ f2aKUWplpwFdWENlbBBiED5NHnI3y5K8sS7AQzrK0NjTFDc8BoJYFy32OhAjOT8BS0FP z1IL44uo6v60LdwujOJEp/Io7rjj0TW9iKb5UfNH8uDI4cKESkHTNx/hKSVhYNqZ96Xj fHjg== 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=Gw+ELitfMEn/3KKakoSaXWC2WtGXLscSbom7cRwAOPvBtiCaEPnW3gtFzgtmrZHA+j fGMEwnV5NQC4WCdaBrF5KDRTCOF/RKx4X5urNdz0EQi5Ejli4fpPwS2Vg8RiAMGnN+dO E3YKtyDopyrp88RMVod0hnY5/zsNTbGS02cF/4b8+kOdD89PBZrRaJr0yA+Bd3b5Illh uI9FrnQhFb36l6Aefag8VQfkjtPtiiCaBVNTbFDqt0KxXMl6GhjkjIQFcNwijc9Y335x PsLK8OZj+0CI7fhzPsKR+xc0B0t0XIl1CZFbZJ/fWNV8M8Adv12QHmV2yqKD850q6oNN tgng== X-Gm-Message-State: ABuFfogQ3emrarrD1+sUDOXatxKLGLT7SKwah2Rg9Aci5whDLiVf/Dxh u0NkA9IVjhz46x48u7nQJyI= X-Google-Smtp-Source: ACcGV60FmmK55WhK5+LX8SYxaBUTEEF64A+qTfE3IMhoH69gsRriKk/Zp4fYlCQoS591DXs5dEpVcg== X-Received: by 2002:ac8:46d3:: with SMTP id h19-v6mr2923762qto.188.1537926758264; Tue, 25 Sep 2018 18:52:38 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id i32-v6sm2490215qtb.21.2018.09.25.18.52.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:37 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:29 -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 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Message-ID: <20180926015229.GA14967@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 Wed Sep 26 01:52:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615089 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 525EF112B for ; Wed, 26 Sep 2018 01:52:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4273C2AB50 for ; Wed, 26 Sep 2018 01:52:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 35DB32AB5D; Wed, 26 Sep 2018 01:52:58 +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 D0C232AB50 for ; Wed, 26 Sep 2018 01:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727324AbeIZIDO (ORCPT ); Wed, 26 Sep 2018 04:03:14 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41277 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727066AbeIZIDO (ORCPT ); Wed, 26 Sep 2018 04:03:14 -0400 Received: by mail-qt1-f195.google.com with SMTP id m15-v6so9502499qtp.8; Tue, 25 Sep 2018 18:52: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=+eFJ1SZwtq/lj7hGmmiR7y5o0Ud3EAoYPRUw5Wruwyo=; b=uEQe4HRU9RGOF5P5HZS9IbERSubF2n/90djAfUTJGrq8A82svvE6WraqzgzJWnC3Zs JkOM5xeTlbKSxiIiz8iwlZBNv7oS1GpFEXlu1hEQrJtUGL39fpi8v27PCRmWW/6KNIhC LG9yhq5tnOHU4K4YYqvl7ZA1FssUHrlNZZREdG9Sl4ZW04nN0+83PrLJZxnIabY2qSz8 CZ/oNFVkTYSsUKaPAWKvGqhSfy7W6sz74D3AhpOHzxcpoaKZ7m0TJOUaVodLWXqPDKEc fM1vf5G5BJYYpYv6wtTj8SnTLpySDfTIN/4iZ4e0RjyInqpY+8bUYiwUjuOxOyGgdvRI hihw== 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=+eFJ1SZwtq/lj7hGmmiR7y5o0Ud3EAoYPRUw5Wruwyo=; b=ppbwoWXAq0emgeOyvaoTkHqfs0gcYmurwfp76/1ZL2tfB67WspuYEnzrIlYLVhMtBj KOS+LSbc1ajI0SbIrWJ/5cmmdWa0XR/swxngNpIMWauhMpIYbgi46Z8/muEMj+Uv1EQj q3qZrhRtrRpg61RtgSYQfst/wzJUIRifXCQTjWUgvN1pHybZvOy47qnWxZs9oURUl9Xd UWPB3znexu0VczLzNOMh0YD6aJGhJXAWDbxJOShHWYW3UjHNPAkdVuz3D+jnUbqStojs JrFSMJurbNZB0PG945Wg1GfG1MhZZKG3f1b5hR2bJ5lTiV9bYg3btyIWozhGwBNuG0NP bZFg== X-Gm-Message-State: ABuFfohhBpd6lRlxRI/8gXyHvlNnyCBUc4jZUIiMgHIEHjvg56eoXFeS W8M8oSf0v/CkvY9GSunGW2k= X-Google-Smtp-Source: ACcGV62/2EyUz7I6ZZIrwXZhhI5uM44MlL2YP3bcoBxqusqqsWNxgLaFyaSWewpvW7LQDarJmK5sHw== X-Received: by 2002:a0c:c119:: with SMTP id f25-v6mr1894741qvh.219.1537926770463; Tue, 25 Sep 2018 18:52:50 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id e65-v6sm2244539qkf.39.2018.09.25.18.52.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:52:50 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:42 -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 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled Message-ID: <20180926015242.GA14980@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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/zorro/Makefile b/drivers/zorro/Makefile index b360ac4ea846..4e5c7045ac7a 100644 --- a/drivers/zorro/Makefile +++ b/drivers/zorro/Makefile @@ -4,8 +4,8 @@ # obj-$(CONFIG_ZORRO) += zorro.o zorro-driver.o zorro-sysfs.o -obj-$(CONFIG_PROC_FS) += proc.o obj-$(CONFIG_ZORRO_NAMES) += names.o +zorro-$(CONFIG_PROC_FS) += proc.o hostprogs-y := gen-devlist From patchwork Wed Sep 26 01:52:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615091 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 A4B8D913 for ; Wed, 26 Sep 2018 01:53:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 937CA28C14 for ; Wed, 26 Sep 2018 01:53:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86C9228C76; Wed, 26 Sep 2018 01:53: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 3461628C14 for ; Wed, 26 Sep 2018 01:53:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727404AbeIZID0 (ORCPT ); Wed, 26 Sep 2018 04:03:26 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:35061 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbeIZIDZ (ORCPT ); Wed, 26 Sep 2018 04:03:25 -0400 Received: by mail-qt1-f193.google.com with SMTP id z14-v6so10644239qtn.2; Tue, 25 Sep 2018 18:53:02 -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=AWqZJCTbrbLZQCGcJApGVRek4I3vA42BSNQkkRD11Myr+SEonNHwQhWgK+QDAevvPe /7IHIuN1ZhkJEjAYay/kWeM/qaYWm0/SRg4pvQme8/718tnZrR3IKQqz48B8lIrbG6N1 eB1LqqY8piNAFKk+HZdb3y34qpT7jKGSS9fSOerbm3wsTjKTUaCNAquQhQ0VcTXNV/m7 fA8/RSYTwbCseFXQddxI/40XDv5Ep7UFVJOcmyUZ1EeKKdxU0Bt2YNkE5FCHdxHqm0Np n6lYMx1EdQtGra//kIEAH/fBqOWj2BGJum2uhpQTK4EvvtiB3y5QF33wLRFiOHlkZe0E dw+Q== 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=BxAEqJMXYnqUyTs62Hz2/azm0ZHM9Xd0P45CRcRPhk2dTiR3ug52ZwzRvw0PXc17uA fkl8+ZaR2jtVQs7kSkxGFwQTFTINMmnlIiw7tYF7X+IrKQp01pWJmwOV54aB1xxbUEr5 3R+WKI39Nv1OfDkhb9AjBWS+Dx2zmr1QrwLhw1KjmOWr23345ZoTLbhR///QlvXKZBl3 /BB4G8CEH/0zeiApD6SoQDHQGfwOjaDrNp1123UftoRN/rlIIBqtA2kHRvYdXlb/9pds U1rDxjvmI2UaDULTLaQKhT1eC4VYRatkDMfpL0HSe/6rxkZqeDyy4wfgFoEbW9pSYQzT RNnw== X-Gm-Message-State: ABuFfohJqeRmhUNjZX5KAFZJ/pHC3PveNPvLlJq25KI3B6FkN8AZTtMu m5i1HGep63rzN49bYGGkWw8= X-Google-Smtp-Source: ACcGV63+EQKDCynaQfmq1FTk6y4P/HI9trpCntexAQnt/InAZzDAwlDYMXOt2UFFl30xeRp/IOs/TA== X-Received: by 2002:ac8:1493:: with SMTP id l19-v6mr2896194qtj.129.1537926782117; Tue, 25 Sep 2018 18:53:02 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id z8-v6sm2024556qto.72.2018.09.25.18.52.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:53:01 -0700 (PDT) Date: Tue, 25 Sep 2018 22:52:54 -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 5/7] drivers: s390: Avoids building drivers if ARCH is not s390. Message-ID: <20180926015254.GA14984@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 Wed Sep 26 01:53:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615093 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 16640913 for ; Wed, 26 Sep 2018 01:53:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05E1D28C14 for ; Wed, 26 Sep 2018 01:53:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECB5428C76; Wed, 26 Sep 2018 01:53:20 +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 DF82128C14 for ; Wed, 26 Sep 2018 01:53:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727428AbeIZIDg (ORCPT ); Wed, 26 Sep 2018 04:03:36 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:43613 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbeIZIDg (ORCPT ); Wed, 26 Sep 2018 04:03:36 -0400 Received: by mail-qk1-f196.google.com with SMTP id v18-v6so5200228qka.10; Tue, 25 Sep 2018 18:53:12 -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=kvn7jntSbpyZYSyKvpa0GLBcuUphn3p989QYl+ADtiA=; b=VPf2R/0dkyyhlLnQQbV0H3qOVfJdZllY/vX0Q8Jc8Finp2MhgJyyOfrwJ0FCWXCuM1 xL/9yQq59mHShtQKK5oJCpgWQ21jaU/m+zqheuiS6bzXNjVcLCqlSzQWy/WpLPJpIoUs F9HTIIgd2AT+tiO1VzRegBXRE7hNH/p6o1ORB4zc/UfV2lnW0UvSFySJYTKIheU1CdS+ l9fGNeyYUHnmWz3FMNOPcD42HrK8kQzYgqwVy8CbNJDsuxAEM/iKtBISxe7ymz4Eldns UiwGYhNB+rmD9B0dJql43wcIK0EHC2e6m0ygYYIye05qGn0LnD3dJ4+l41v2Ef9Xanki quAg== 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=kvn7jntSbpyZYSyKvpa0GLBcuUphn3p989QYl+ADtiA=; b=LOH+E2OIrCMCFLQd/rEB3G4YsGH6sgmhM7oIE1AV7v9CEMtd6A0sjsxChG+WxzuuYJ l/5BjZsGBVDtTb2osCy+ZsjXevRlWVFdqMiljXEi5j+T/iLAYBxzEG4Wu60AWmw9ln1c zvQ4U9yGA6pljOxRG6mhl8DeIC+iLtMi5n5HQ7lgDVYvedRjtWtYByyx0z+k2tBnn08Y lHz01RwXt7ZuNCDc47NnycZ8ndgG5TEqXEa+Gvz0btbYQh3Hl+NB9r4ALdQEEF1Oa5RG OoGWq0+oiq/ABCrqgiyrvE3UETVZ1NTKNoWQgTVcaVxIzSojMo5Uo8afBJ/npxSTMNFM Eq8Q== X-Gm-Message-State: ABuFfoiBzGrz4+ur6BKsc0QDcwqpOYahV+5IAeCMMTf0MM0cL8m91UHv AkFMExbm4IcNlEEGYm5L6Tw= X-Google-Smtp-Source: ACcGV63Xe01CTftNrl6zHk5foKXVj+7d8uIiUEiwpBiumC+jIM+F+wFKrVW/7qU5gSvQMLCOYrlLIw== X-Received: by 2002:ae9:e64b:: with SMTP id x11-v6mr2752267qkl.41.1537926792557; Tue, 25 Sep 2018 18:53:12 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id r4-v6sm2067788qtt.92.2018.09.25.18.53.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:53:12 -0700 (PDT) Date: Tue, 25 Sep 2018 22:53:05 -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 6/7] drivers: oprofile: Avoids building driver from direct make command Message-ID: <20180926015305.GA14994@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 | 1 + 1 file changed, 1 insertion(+) create mode 100644 drivers/oprofile/Makefile diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile new file mode 100644 index 000000000000..6b36c93e9762 --- /dev/null +++ b/drivers/oprofile/Makefile @@ -0,0 +1 @@ +#Does nothing, since the source is called from arch/$ARCH/ tree. \ No newline at end of file From patchwork Wed Sep 26 01:53:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonardo_Br=C3=A1s?= X-Patchwork-Id: 10615095 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 88D69174A for ; Wed, 26 Sep 2018 01:53:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78E0528C14 for ; Wed, 26 Sep 2018 01:53:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CDE828C76; Wed, 26 Sep 2018 01:53:26 +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 1D39528C14 for ; Wed, 26 Sep 2018 01:53:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726602AbeIZIDs (ORCPT ); Wed, 26 Sep 2018 04:03:48 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:45187 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbeIZIDs (ORCPT ); Wed, 26 Sep 2018 04:03:48 -0400 Received: by mail-qt1-f196.google.com with SMTP id l2-v6so15636475qtr.12; Tue, 25 Sep 2018 18:53:24 -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=evfBGTGw/kRl+TJ3908uM39VEOlJAQ7WRhEwyFI2xxc6HM+7JUe7VEXal2h/DHJoqf bhk+Frv3ONDiT0qwax6pt9hMPDWKWzhqHGlub/cPG/tT3ex/C5alYiMmo6CQJAkNC1Qh YBDFofJbK0FaMWoAFmmzeIdDVO6d0fyrooRFlt+3Uu7Wf1JTKSEkOXIkjkaDMH9/Xe7Z qKMcatZdT8EWtpf/BQH5rVjTqR/yclReGpkEmEDOVlMBoxG0za+0/rTm80Qfl0Gl+i7s nMyQ5c6iJlxMWOOZ2mCDGByPEkrPUyzkhTrH5Ni57LpI6eLEpntMbjC2jsvGclXllN+i hKYg== 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=jYB5eLR+7vyjeW4uXohapu7aoHSiX3HBjjx0OyAycUatIE7hF5/aYtHt+6IZ8iedx3 OU+2VYr71eiebphNQj17LQaLwTifv46SMZ5opYtcl10+tQTXCnJwarQEjk0l/sLOoPCL A26dJWqCOcE93G4rkik9hVkkfYsZd+wUWNNXgpivJ4KsNiJHbHMVYUOrnrCH1fIEoR5J HHHiJ/aF4k26LedtT+DGezTpGSYwoYFaqXZc5USlWE7AwMujtU9vKs+vK3ggbqyoZaNw 5Zma6+5IDdnI+sNbqh/4UDMZQcbeUHM3GGEZnpCzppdMSeSDwkjvg0tiFHRlf6Esatz8 mMJg== X-Gm-Message-State: ABuFfohdp3uLQ9tfoyiwVtpXBov0ubX2e1VT9RHEuUGGUDxP/KD09OTy DnjUdrHuIDNQmjTnyD4LiWk= X-Google-Smtp-Source: ACcGV62NRAo2ZdurZjS3+a13DVRgK9HSYy5phc30qNQqX4o5+6pn0bjwpDSMoWGZlzBycmakFAUK6Q== X-Received: by 2002:a0c:fb4d:: with SMTP id b13-v6mr2804875qvq.162.1537926804281; Tue, 25 Sep 2018 18:53:24 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id c21-v6sm1960712qtj.22.2018.09.25.18.53.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:53:23 -0700 (PDT) Date: Tue, 25 Sep 2018 22:53:16 -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 7/7] drivers: hwtracing: Adds Makefile to enable building from directory. Message-ID: <20180926015316.GA14997@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/