From patchwork Fri Sep 28 02:08:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618881 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 C5E1916B1 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B60102B5DA for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA6CB2B5DC; Fri, 28 Sep 2018 02:08:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 5C8BC2B5D4 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728790AbeI1IaC (ORCPT ); Fri, 28 Sep 2018 04:30:02 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35360 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728754AbeI1IaC (ORCPT ); Fri, 28 Sep 2018 04:30:02 -0400 Received: by mail-qk1-f193.google.com with SMTP id a189-v6so2948167qkb.2; Thu, 27 Sep 2018 19:08:41 -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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=NaRv+wOampHpKQs9p+jTUC+GToyyQunFlt6ozkOJodovVjoeac/l7hkX/BRMv9QgH6 RFDnLP+XRkufbkbEDgXUp4gGK2USZ2czpszE5RgajgbV/EYgKOoOuNnS4QffGcE8xTsG eQbxK6m4VxZv88uxP16vhn2gDmrm0CrkEkX6SblRQb0cXAMB0r2cke58PksUgYMXNZNN 7vT8zqGqxXWevGhBOdakiiVrkJKOEhDehE31/+1MGZJbv3/NlWfXPzFjvcUv9MFDV88s bbwocghtGYrPNL2Cq4lzjbHqUFzzU1xQVbZbif6aZt4rYxy4+uCMuTcNmq5hWc1AeCls 1qlQ== 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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=njk2o4u1ddGS3CeRmKGB3D9kbK2lvvTWbVOdxbOzaOAVqEmClKmfy88bGVtjLuSdYO u+cxJH2pviNBrsmeubIZ/raHApNEk1WN1X6X8xBiSu4uPiFTegGfo3nsjWPINfL9oIak l/zNnP6Yhf0F0WiPpwNGsD7EyWShjy1vDRJxSzykW0AtbqsdTt0fnlLLcI6t7rfckhHU oDekpT8CJLBOsWqGbIoO1JRmQwdFyzWffgXr4TAB+mdYH6zO5MtDLWVlu3589hRgIks8 o9+CDOeFHJ8jE3dRaKvDCRW1jymokbHWk0YF6QENXv/wOb7hlfdy6RhjyFdjAyFkOsAM bS4g== X-Gm-Message-State: ABuFfojcKgPHlbkXJNugJDENdwu3u7wFNCDkhynOxtLHqL64z/ISjQpW tIXI/XKD8zL60JSABwOzYqs= X-Google-Smtp-Source: ACcGV63d34VUnn0HRk8O+TyIF6tGHl9OrdvJwyFfNx/bXbBPtiyGD3WVuz73eDr+4rKxTXMAdvALag== X-Received: by 2002:a37:411:: with SMTP id 17-v6mr3876805qke.68.1538100520497; Thu, 27 Sep 2018 19:08:40 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:39 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Date: Thu, 27 Sep 2018 23:08:10 -0300 Message-Id: <20180928020816.11251-2-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 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..8fc80e805b90 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 From patchwork Fri Sep 28 02:08:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618879 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 2560B16B1 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1674C2B5D4 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A7362B5DA; Fri, 28 Sep 2018 02:08:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 B80792B5D4 for ; Fri, 28 Sep 2018 02:08:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728746AbeI1IaI (ORCPT ); Fri, 28 Sep 2018 04:30:08 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:32978 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728836AbeI1IaI (ORCPT ); Fri, 28 Sep 2018 04:30:08 -0400 Received: by mail-qt1-f194.google.com with SMTP id i10-v6so5095504qtp.0; Thu, 27 Sep 2018 19:08:47 -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=az4VG2kDleDEIQbELh7WthCOA8Gd6LhdwtP9/ZvOfHo=; b=Bkqw+5c1GtHiTVolD17G662qwMMLu6vxrmwWh2P/Y4hiwFVyI6Orsow3gGZSLhmxYT ExXKENpxj2kslGkCCzlpmfw7IUsaXWyb3pM8+M4pjuC4v4sLgE6uJeUN8yceffxhh+xm Z8IkyslRHX5r1oqcmZkOFGtQxMcu8YH6GDg+S3vWsIhGSWn6dS6DdAaSRhPsCwwfDt3n X6iwRvwqLJ8Ks/epNqXlqCDuf52wLG/+MkR/DftJgY9jYTrwXNwf8T4G1bgbV5YFe/U9 F2QMfGNMAHjM5Kvn1Zdfp99FqZICXpM9WR1H3C+1YzgaEz+HVLUbSdpDP7+G4NbJ5KlA n0fw== 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=az4VG2kDleDEIQbELh7WthCOA8Gd6LhdwtP9/ZvOfHo=; b=UjGAQZfFXRv/OgbpKpJ4+A5nNsrxKTD0ZcP1LMPTN4iso01feLaV8zX1iaEODyCOqG T4y0hlXjxKDAJBTEIo16fRoa0TmS1DcpJimH2o+7u+FXiJ/jWrr3qOAai2fRWDOtC4+w SU0HYTDZq9GphnthwtnRucUkyEUFTQ2ifOKhFsTG5KVEyZok55Etam5HXNe/bxzF9tsl GKMT/8ixGqLfkY/ZEXCJgpPu/WYwIphC1f937sThytjzxK1zL8NXXv4xs3nO10sPZPsa M3lG/OrUuzscJ3PyYbKNMXf8qYwoUdgGo3A52TO6pOMERJbNftXt/I6RC/EJ8uTaTH44 QAdQ== X-Gm-Message-State: ABuFfojdIFFDikLBvW+sywKnEFC/17Y7kkzGq4elRfmHK72xfPbvjG/5 KmuI/w4SlBJKaOiNKTze1jzW/3i6 X-Google-Smtp-Source: ACcGV60JqKUvyyH5iwi4ShgSCQNQnWyYoYgDaS6HtK3L3Qd7vRwX82rXU/2sIVYulvbp6xibvDWRsg== X-Received: by 2002:a0c:e083:: with SMTP id l3-v6mr3265594qvk.1.1538100526525; Thu, 27 Sep 2018 19:08:46 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:46 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled Date: Thu, 27 Sep 2018 23:08:11 -0300 Message-Id: <20180928020816.11251-3-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 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 Fri Sep 28 02:08:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618883 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 DEB573E9D for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF46A2B5D4 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C36CE2B5E1; Fri, 28 Sep 2018 02:08:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 7D53C2B5D7 for ; Fri, 28 Sep 2018 02:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728750AbeI1IaO (ORCPT ); Fri, 28 Sep 2018 04:30:14 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40159 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1IaO (ORCPT ); Fri, 28 Sep 2018 04:30:14 -0400 Received: by mail-qk1-f193.google.com with SMTP id c126-v6so2925735qkd.7; Thu, 27 Sep 2018 19:08:53 -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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=Xxe4wfc1pjms+V4Wh7sSOGixTWY62Hc5ILFnE6egN4xy1B34Nv9AZ0se50Qy1yN5T2 Ra9Fu+mEJY51Ttq2Hq4g3fIEA7V9KWuJg6BoBppVgL45RihcNCIl0toX/DWeWkEPr7I4 VRo13ugKRs2JNN+TNE1uwOTpRsY2qvdTqUzLgG8VJghg8kIThDOOS6zhJsiOJjNWa5// mo5XC+wPKRllMDPbj8L3SgZENVvA3VmKk8wlnKqogFVvVwqvrdkUU0n+QzNykd85fDWV /jyfZ5TGOehX9RdUBCeG27LEyMCKH9sQIE6Q0fHITe17vWcvAOy7EyBTiXRAttR04c0v 7F4w== 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=Ml1FFJEZov3NZzRMfIOgz+x2FcVyTrOzctjRuk6MfEU=; b=JnJ/axVEYdI3sZgARQqpOCwHui62oNOx0rSBd9gDhP5SJL5HgqsJoit0C/KNZnNm/Y iG6SXGFb3uviPvQ1vQwdyWysD2wWjAlX29ucIbQB4fagmL2U3Juxm0lz2gzcNSd1kWBH 7wmoWvLTFYRt49ontvYcgu1RD1VHHuAH1GdONp46vNM0UNIA2Yyyz+yyGLFNGRQk4jnQ on7MtbcKijEKcd4ekEa6kYinquLs467R0oRAWAS/XH/fYedoJP5K3fD5c3Q/Z6+QivF0 a/+IiS5gpUUAaj0MTTYEaAiDlDtb+GZJRpl4el573zGZNYXohYB3IZWFsDeQ9k0r9Ldw O9JQ== X-Gm-Message-State: ABuFfogeW1/ll7boGn6PBMEW/azqFz7efeOP0ttZbLOl6AsNwkAgaftc coo5EjZI433vJ8mCBB8TmKk= X-Google-Smtp-Source: ACcGV60t5s1FYvZ9OQp5nqj5w14/qiB6umyp/Lh9lGJzAOV2ktnWH7iJSuFbvXEISVkNU9bTyahJ0A== X-Received: by 2002:a37:b101:: with SMTP id a1-v6mr10144828qkf.222.1538100532874; Thu, 27 Sep 2018 19:08:52 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:52 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Date: Thu, 27 Sep 2018 23:08:12 -0300 Message-Id: <20180928020816.11251-4-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 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 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 Fri Sep 28 02:08: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: 10618885 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 79F3916B1 for ; Fri, 28 Sep 2018 02:09:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 694242B5DC for ; Fri, 28 Sep 2018 02:09:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D4D02B5E1; Fri, 28 Sep 2018 02:09:01 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 134CD2B5DC for ; Fri, 28 Sep 2018 02:09:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbeI1IaV (ORCPT ); Fri, 28 Sep 2018 04:30:21 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:34119 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1IaU (ORCPT ); Fri, 28 Sep 2018 04:30:20 -0400 Received: by mail-qt1-f193.google.com with SMTP id x23-v6so5084871qtr.1; Thu, 27 Sep 2018 19:08:59 -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=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=n/uSFHt6d+HCUETD/614yqwcizWwVLls342kxJhg7jvzKajBcriywXtRgekX3nkOLb ACtKZCqOmYCX47uywr+QcDecfTemGUKAeroLZlgV7T1iIZBGhbPCHwOenZyI6o7CHHBP 2C5KTzrn6qnJLESQ5YDu5X9CSCDoPHytvHu/yIZBlsdgWaJSWSL8nxQS36jSjIPpuCbX QyMEK5kxb9LMPJB2vaRhr5xO2U9m3U9nBAQy9l8uCFHqpkDqu0C6a7qXk7rwIM7fP0o4 iJupUc4+1P23OxonbcvIrioDXN+CAogQcOlNL9FpbzVR4b8DT7dIRzwWcKI+pqSj+68j JM6Q== 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=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=FywH483DofL75a8gTF55g7AlOwoXZGkHmhLulbbTs/bt+Z6w8ktqR8tO1UHjm/kpfD z7O7n8pvMuddJjl1h/d4t3ViI95SPKmHmpPneS+H2Oxn95AjiXIctrxGYq81/ZB+vh2y gGJlaK2W9aw7TQ6KNIYn9XzVCvAU7zkxBBkeCCfE0wSXHh/KE9gO7REEUimBFOltLCo8 gDQpLA8x2APW7pQLIwJAFy+RiaHg1m0gyQiQnFqDTA6VvxvMr7u5FyJsIOQsJWsTH4xP RheJR1RPHINkLbbH2wZX6PAvrxcRkIJ6mLmoNnLjUW+auo7m4GXzgXwyiC01s6ep5P43 tqiw== X-Gm-Message-State: ABuFfoirkTkOkxv6laJ/zrJ0eHLUzQ/4NdBlQawlyWQRjGY85sdld/K0 jT+oalOiq2i/FBxsnOc4NEc= X-Google-Smtp-Source: ACcGV60ofa9o4GpIHIDU2Wr4VJFAxKzxYG+RRnI2evk5IX94glLjzmF1zMR8rul47F5Qndp/EGtMPg== X-Received: by 2002:aed:20a3:: with SMTP id 32-v6mr10391742qtb.195.1538100539239; Thu, 27 Sep 2018 19:08:59 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:08:58 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled Date: Thu, 27 Sep 2018 23:08:13 -0300 Message-Id: <20180928020816.11251-5-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 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 Fri Sep 28 02:08: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: 10618887 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 390B016B1 for ; Fri, 28 Sep 2018 02:09:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A7652B5E4 for ; Fri, 28 Sep 2018 02:09:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E0272B5E8; Fri, 28 Sep 2018 02:09:08 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 CBC942B5E4 for ; Fri, 28 Sep 2018 02:09:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728926AbeI1Ia1 (ORCPT ); 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-Google-Smtp-Source: ACcGV60cYOoAvibTXe4yQuqsipnRLZW5RkMJuY3DX7N4kd0h5Qo3N/FN0jP/X1Ce5LsCwIBLW8pghg== 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_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 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 Fri Sep 28 02:08:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618889 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 E878A16B1 for ; Fri, 28 Sep 2018 02:09:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9C5E2B601 for ; Fri, 28 Sep 2018 02:09:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD9D02B611; Fri, 28 Sep 2018 02:09:18 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 77C8D2B601 for ; Fri, 28 Sep 2018 02:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728934AbeI1Iad (ORCPT ); Fri, 28 Sep 2018 04:30:33 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:35632 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728930AbeI1Iac (ORCPT ); Fri, 28 Sep 2018 04:30:32 -0400 Received: by mail-qt1-f195.google.com with SMTP id z14-v6so5087523qtn.2; Thu, 27 Sep 2018 19:09:11 -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=e059U9EVFIrXzIdKY/vX6Gpjk8Vp1fLvpRknwNsZouQ=; b=CUMDJJN6yNfQfPCW439dOQT+mg2FWYBh8yUgNBZoAQPPMTfGpXDngoyfLVL+HlOd5y oihWC3LDp8QTHpjtZCQ83WH1tntlr3ad4P0XC+MJZSAmnddZBRSLjS4NQ9q3wtoWgayR 77yvHHtGJK7YiQJAoFHgjJ1sLBigzfhw//dx3l3l2RhAeDMlvRiGeBaQC1PL2ZZKA0ak iF3FACthDKmxCOfaY0pYq5sCEv5OMWq76/YAZGAuFFr9/zHFomV9AY3YL2/dYgU4Iba2 0Y4yBgZi3sW0i0NtVabWn/pZejIx7sZSiOUhkU/WM9l+5Kh1I4GO9IhlzdbgHFcCsA2L RuiQ== 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=e059U9EVFIrXzIdKY/vX6Gpjk8Vp1fLvpRknwNsZouQ=; b=padHfS/gRZpQxZupuPRZq7s9tMYRjG2NqJEvYmRSaBO7nRadHCXQrXlJ0Bf3QcCqfK aKQePUhZMtNhxMi6wHSALHAvabV/eQgZHgHsm2oV+WlEhRlOuAMr2LKfshPKEAAwS9Ri BjMZVPSfc+yIW4nUjhl0tQyNj4MRLfkVrGTQZqDZ58nDRHpafo48VxLXw6/BIdbkNiiZ HqxhK1vUhMNzIVTMerxu9tFAQUKKqsWeI9ajxDuqRAlzciUbHDrY7r2MwUy5994m27/2 /Gu1NMehNJQ0uALi6/xMmwLDGOfXlToVvdvX+G6HQtGDEfJarERicexjKJvLFTQQpOOz GOPw== X-Gm-Message-State: ABuFfogcTxDgnrVoif6+yzLXnOsi88yblWuUOCi6D1knxmQQbv4IGSpi zvvv5H11cyLMIscg7ijVI30= X-Google-Smtp-Source: ACcGV63Hsji/ySypatu1xD4zofutjOYePf7Z6bqsj9iZGRmP6CfMfuBGZrIhJykyjXnZlNL65uhvTQ== X-Received: by 2002:aed:2b43:: with SMTP id p61-v6mr10997907qtd.107.1538100551318; Thu, 27 Sep 2018 19:09:11 -0700 (PDT) Received: from localhost.localdomain ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y138-v6sm731191qka.36.2018.09.27.19.09.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:09:10 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 6/7] drivers: oprofile: Avoids building driver from direct make command Date: Thu, 27 Sep 2018 23:08:15 -0300 Message-Id: <20180928020816.11251-7-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 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..361867ec2338 --- /dev/null +++ b/drivers/oprofile/Makefile @@ -0,0 +1 @@ +#Does nothing, since the source is called from arch/$ARCH/ tree. From patchwork Fri Sep 28 02:08:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618891 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 04D4D3E9D for ; Fri, 28 Sep 2018 02:09:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8EBA2B614 for ; Fri, 28 Sep 2018 02:09:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC79B2B621; Fri, 28 Sep 2018 02:09:23 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 8AD352B614 for ; Fri, 28 Sep 2018 02:09:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728962AbeI1Iaj (ORCPT ); Fri, 28 Sep 2018 04:30:39 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44449 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728720AbeI1Iai (ORCPT ); Fri, 28 Sep 2018 04:30:38 -0400 Received: by mail-qt1-f195.google.com with SMTP id c56-v6so144325qtd.11; Thu, 27 Sep 2018 19:09:17 -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=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=EzXyfMSHeE3uggB1jajQGCirYkUYO2SYR/HR4nkFOeKGuSr47eio46NJAhvm5AMWKx 2qxt7/NmJt9nm5+xsFOssYFrz1q4CF5TnJB2ZdDFRqqcKch2X1/ledCpOhgqy8LkDUzM rJRNaQwehV4x4E+c/yoJVq0zIm8Wzmt27QMszJjE77O2oWNT3LTqp17pTibT78nIOd7N HWZHnpRwDBQK/OZZL6TE74bNW9Z0P+WiLrPpjRYJi4uhvjzR+C2eMy8NuflwE7E9Iyce yQc8mHvQK8mVjeRqFNX+Hha3hdLVxh844v2rkaLjxQlpfx9nHz8J+jL5aApaG1+3M5j/ Yqjw== 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=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=OEbo3f40S0jGotEpYQWBZoLPk6TZGVNlDLt8aSLepahxpk56Fah4S6Q+UF6xZBdwhG xhSrsgIPaVMWhy3wVNTiMlYkp544gZCHVd5nzAASu5dkwwVXnXeoysJy+h4IYsxC9Mo2 KKDdAkYtPhaBacydKcKElPM/qbyiAaCI0ZE2UmADqRizb+WXo/3O519lCKBJ7idRN2ya X5B4lBRhlTxWr4BhrXgYH+zKPklzjk8FyXip/hZJlifptSmLq+mvMp0FjZBm50D/+U+H uPz9TXtb5B0ZaFK/ffQz9+0leOKvOZOv4XnPtiRsUzIsTrHssm28+S9IcNVBPZQ3CyOS utmw== X-Gm-Message-State: ABuFfoj/g951VSUpBkGhtewzYQLeUmOMTWaJ9VP8YOAPxZZAfGQHLvBB MSsdSXlhUrStrZpOcepweXI= X-Google-Smtp-Source: ACcGV61fJjPLfKjDNM3BBkz6aye0dc98m5Gs7VJdKq02carowFgKkUmZHZG0M+uSDNShlAot8GkgGg== X-Received: by 2002:aed:3bc2:: with SMTP id s2-v6mr2751407qte.207.1538100556825; Thu, 27 Sep 2018 19:09:16 -0700 (PDT) Received: from localhost.localdomain ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y138-v6sm731191qka.36.2018.09.27.19.09.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 19:09:16 -0700 (PDT) From: =?utf-8?q?Leonardo_Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?utf-8?q?Leonardo_Br=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 7/7] drivers: hwtracing: Adds Makefile to enable building from directory. Date: Thu, 27 Sep 2018 23:08:16 -0300 Message-Id: <20180928020816.11251-8-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 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/