From patchwork Fri Sep 28 01:46:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618839 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 636C51759 for ; Fri, 28 Sep 2018 01:46:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51FFE2B4B6 for ; Fri, 28 Sep 2018 01:46:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 443522B4BB; Fri, 28 Sep 2018 01:46:41 +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 E578D2B4B6 for ; Fri, 28 Sep 2018 01:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726068AbeI1IHx (ORCPT ); Fri, 28 Sep 2018 04:07:53 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:37616 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeI1IHw (ORCPT ); Fri, 28 Sep 2018 04:07:52 -0400 Received: by mail-qt1-f193.google.com with SMTP id n6-v6so5024367qtl.4; Thu, 27 Sep 2018 18:46:39 -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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=TIlYUnCNWpQijbfpEwuhe5dycr9EThxJFylubBOpgYIZ7lcXjakkDG5ZsH38m4ual8 IoREXTJtYOpX7ZjioyUMOoQRwfSHC5B838qJ4KigSeAMfnqbt1KMWTkKN3bfQ47kNrYS DEOsmuXXVteRjhSqETJVZceoJt42ipuHYirFnVbacv59xPCYxTZe8NXrZlKAT4c+GBxz tz1q+EkUcsw68q+xNW0u0Vm83sqNXJp1PKYkR9x/ujRhauLYItsFViPOOXJJ9MHCQe8O Q/6Y6FZ7flYmhHJJAiza39a0gYeqbKAoLhPjeJrUbDEzXIsXLzUwwe37todopHB116jy XxQA== 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=X4z7jPf+dvuu42+tYZqKX430fxhW5Xfzad8xEo8VLqg=; b=Q+GciXnQU0mbvvvo+EB2zEiNgwmgGLh1DpHyxoJSUR0MeJ66Qo5GRDtpcTvIKxBvH7 c9qL4BYyLxIqSXhUzdO1ojEkSvgDmYglgFG04vkGKB8Mdq4IYi97uzThEJQ5CfnhCBRz FdZZv92mjujpkRE24gxhRvOxOXBNlVq3Uuk1t23kzEk+pBaU8cNTprKfPv3gOyYc/D5H /q9Z6su0yIxKkaQpqnS2OTaHiGzfcnCQS1F7Fvwom+10D9oh9rwW6QFqR4UDskAfFsIi lz0UysuzEO0f2twQX1RN4LzkoxvDR2yk8t6nCIQ/pzyNa7hT1ArViw2LF2D6SOYbeNVm T4CQ== X-Gm-Message-State: ABuFfoh8lJQJeum0SLupKdNGYidwloHPAWhnwSx1b0w/t8OMsqTNRxUE yw6AozVLhgomUjJlnyvM/6Q= X-Google-Smtp-Source: ACcGV62xfoYJb6xff8wzdqw0f0gjy5qLeUwqKQYNIjIdi7GkRm3W8oYwVxaXrDdkbFg2u75a1EFq5g== X-Received: by 2002:ac8:2d69:: with SMTP id o38-v6mr10364997qta.21.1538099198983; Thu, 27 Sep 2018 18:46:38 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id m190-v6sm2050250qkd.48.2018.09.27.18.46.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:46:38 -0700 (PDT) Date: Thu, 27 Sep 2018 22:46:28 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org, /tmp/v3-0002-drivers-nubus-Avoids-building-driver-if-CONFIG_NU.patch@windflash.mail.wl.linuxfoundation.org, /tmp/v3-0003-drivers-parisc-Avoids-building-driver-if-CONFIG_P.patch@windflash.mail.wl.linuxfoundation.org, /tmp/v3-0004-drivers-zorro-Avoids-building-proc.o-if-CONFIG_ZO.patch@windflash.mail.wl.linuxfoundation.org, /tmp/v3-0005-drivers-s390-Avoids-building-drivers-if-ARCH-is-n.patch@windflash.mail.wl.linuxfoundation.org, /tmp/v3-0006-drivers-oprofile-Avoids-building-driver-from-dire.patch@windflash.mail.wl.linuxfoundation.org, /tmp/v3-0007-drivers-hwtracing-Adds-Makefile-to-enable-buildin.patch@windflash.mail.wl.linuxfoundation.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 1/7] drivers: dio: Avoids building driver if CONFIG_DIO is disabled Message-ID: <20180928014628.GA10427@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..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 01:48:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618841 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 9A30E1759 for ; Fri, 28 Sep 2018 01:48:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 841CF2B3DD for ; Fri, 28 Sep 2018 01:48:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73AF52B404; Fri, 28 Sep 2018 01:48:35 +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 25B9E2B3DD for ; Fri, 28 Sep 2018 01:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728375AbeI1IJs (ORCPT ); Fri, 28 Sep 2018 04:09:48 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:44251 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeI1IJr (ORCPT ); Fri, 28 Sep 2018 04:09:47 -0400 Received: by mail-qt1-f196.google.com with SMTP id c56-v6so105688qtd.11; Thu, 27 Sep 2018 18:48:33 -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=kDnDEsZa7fFmjs2Tk74lWl3fl5P2Nef0SknMvfCe9e49J965GiWsQxosf0mo+zj3kB 0B39tgyLiAb6YPwF45t/zJShLbiJweqeUKY6+vZp22sdh2oSfT6zpnBEpv9IsbdJAL96 kjotqyDRWMvvtf8X5A9ldWrAs8LHlSNjDUlsit/SLCTDmzwi6Ja+l39OY5a5E1t6H1V+ htIjXGC57Gf/sq+gNRwjeQyqZU1sfl09I3MKRFJVEPy5oetgM0/02jwaMqn4MRbpA3z/ a/Hd5FTtgwuLxUKjWcJ0WHWlar+2iJKhHOKgt/yOG6nRmDGy8qAXnXSMqPBdFTODP/jg 0ipQ== 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=fucaNnsb2MCrYXicJFQVdBz4tlbbqlWyRpsaWZPaqwdHH2qBublHQ+7G7JmqJKaTgH MeceavaGfUuXQxjELFtWlMDuA+RYjRKH8TrhFXLNrkUyeyFdTiua/Mj3YNI7MwwVlfuB VP7XY0PmsmEM6Q4DO4rwX2FoaNjQgsHYRgT3stsFiiK+4nl9rMB0SvwLM0UR0cafYneE 4tf6vkTwq22l11w14/x/FSqW6ok8DvEtsPMYL7I3bk147MXczhoeLnf0TEs8++z5sLZS 2brj9ZwcUIkpAvDX4VDhx+nF85fgD/uwYmClOwmJ8/tlJ7YM0vq06U3E8bF5hIGSEYrj 9Lvw== X-Gm-Message-State: ABuFfogyv9/xhI7AkmKBt0QZ1tTYNz2UKyPss72wi4Ngf5txIZzMfoDi kazy+uwNy3nzdFOKKFNkj+E= X-Google-Smtp-Source: ACcGV61GwrxPTv8Vy9LRQU8saNNx3O3W4U08M1DWAZpwwLzXFcn9KqlruyadY9tbVqyMzvXnocjS2Q== X-Received: by 2002:a0c:8834:: with SMTP id 49-v6mr10283618qvl.40.1538099313552; Thu, 27 Sep 2018 18:48:33 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o2-v6sm2538434qkl.63.2018.09.27.18.48.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:33 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:24 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 2/7] drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled Message-ID: <20180928014824.GA10504@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 Fri Sep 28 01:48:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618843 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 C6AD71759 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B7D5B2B3F5 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABC3E2B414; Fri, 28 Sep 2018 01:48:48 +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 6151F2B3F5 for ; Fri, 28 Sep 2018 01:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728499AbeI1IJ4 (ORCPT ); Fri, 28 Sep 2018 04:09:56 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:36751 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbeI1IJ4 (ORCPT ); Fri, 28 Sep 2018 04:09:56 -0400 Received: by mail-qk1-f196.google.com with SMTP id a85-v6so2923458qkg.3; Thu, 27 Sep 2018 18:48:42 -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=hs/Os8vN3OFq9MhYXzvai9Zxda/zMLh6bwiBNraISalZS6CVFd8vhXBUZGmyIJgUT8 JxnW+j1hk+G2mBMe+UKL4oWMBWv+MZ84aFzltqlJ3SnPDoZcW7E+FcqH1khVTzgoiIPv xS/ZVGkxSvYHmbRJoLfQ5wESaanynBuxxZCgnRqeR1w2q+s6OIyGqgoxgqLpd3XCGdPo M+U5rE1Se5EfIfydu+QLBTOzXNorkVTCG/N04yzH7Yi2zZ+BmjgsPd4mcXkm4K1zmvwJ MCM7YlpD4/PuaU2B20sr+tZEgCveDt6CCdbwhxwUyYRoOQOl20bfXAuFjLQ/Y2U0rAK2 p/Cg== 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=H/822on9nxIRZu0Jv5CBc02MBzryjIlS1+1gAVYjOdWQOPPJk3hFPmYzBG9H5YDQwU qIMwKCZftmYkUFvBW82JU5+mQajF1ou0etWAVFc+XxNOLAd5Jb7aANEjQ2syjcBGAaL8 iWWSc958ZxYBj9ovHyVZgnjl70gKkjrkhiuxqJqaeWgdni86FJLi0nTnXdtwpZm9wGop jENs1KHsTQW2w3g0LDwMs1WXdVCx5irLIvD74qpsQrw9H42nsm0D27nkl5qNLPoZ7jsc wGeL9wvojfNtlwcdF5sVOhVzADWcWksjLr1NW/FffWrcOcvYmLwWcNbzjKFwWkuBP6dT GlJQ== X-Gm-Message-State: ABuFfogBOD0o1oQXWNsAydXXVGGJwk+ITbmyT0ouLna+6ljxHIURHwIT HyICU0KV39rfOLvIe6CYqGaFOKbo X-Google-Smtp-Source: ACcGV603lpVz/o4820HBmGUtKp8uzyqtNxbevgQamUv20sDKfLg9SsMbQCzkxF7pgpZLuFppat1rbg== X-Received: by 2002:a37:8b46:: with SMTP id n67-v6mr6674160qkd.262.1538099321790; Thu, 27 Sep 2018 18:48:41 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y7-v6sm1931829qkf.38.2018.09.27.18.48.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:41 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:33 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled Message-ID: <20180928014833.GA10505@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 Fri Sep 28 01:48:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618845 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 E8BD7175A for ; Fri, 28 Sep 2018 01:48:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D89452B404 for ; Fri, 28 Sep 2018 01:48:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB1592B421; Fri, 28 Sep 2018 01:48: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 7F2342B404 for ; Fri, 28 Sep 2018 01:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728748AbeI1IKE (ORCPT ); Fri, 28 Sep 2018 04:10:04 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:35518 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728742AbeI1IKE (ORCPT ); Fri, 28 Sep 2018 04:10:04 -0400 Received: by mail-qt1-f195.google.com with SMTP id z14-v6so5049794qtn.2; Thu, 27 Sep 2018 18:48: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=FnsE+PwbSYT7Ik4sfBLqTvLMfucbH50GCrBzd4xVqgg=; b=LWAp/ODnG3g/fquiABxPcurrEfakZ99Tu80oGCcofFtOUhLF1bWOxFuRJ3Rf80PVL2 dm/9+Ktx27QUf6igqhEcYlR8YxWKDz5TOiSkD8FfVIIj8MISfvvfZsS8Rt/K11rMYt1J Y+3KeJdI3v/2/zJjL6lsuAXDZrxuEcEoDn3LP9Dig/bSGd0VXqs2huu+tWciiHYtXBxf 0iYVGubIElYZiG/OOJTtuvcXoYxocSgR5g1Xh1aVqJpdOTJqrGD/VYRZirL4LrfRd8LO eJkjlZPLopu1yOUQ+aPbsTWlwuLr3p4hGmskXdwKI3OA3vY2q3uhcC4bdIhpGRUHBW9v czRQ== 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=lOphwBFK31wYCR2ApDgqZXgOZlcLbQG6QJkDgUZ9DsncwiCG8hr6ZKKPdouMTWF8RQ fyffcJQ+Kg5N3Rhfm86IC4dI2l45EGSASsymHwsmI3xUGo1VxhcWjddVszecgurl0UJ6 tgNWPS8eb6sEKH5tD89Xv/Z/hi4Lk+OC35Bzdkg64qkIPBZqiVg0hGDwYMYiOnY63Zu6 Ij7Q+Vzd955n9S82xp6HYe6cEvjaApIrii/0mRE543h3owRjoA5/P/RXLA6IAYKxeCe5 jqySxq6VrNFN1t/G2InDoBOxAX+2kJNfEyA4e48i+i4jjXuCAV593zSGlpCAuNPpg6UR 5S8w== X-Gm-Message-State: ABuFfog/fO2TlslYzLkc9jbWNZ27UJsvRerj6ETRNWV8iAv339U9cVL7 lDf3CNKDaFSNzouijYCDM0A= X-Google-Smtp-Source: ACcGV63R/LlHErhiNWXpVRyOdAdylp7VkaNLTyysrV+Mmv7R0bTo24jVt1Hs3Oi1NZ83+DU5WWd0QQ== X-Received: by 2002:aed:2f27:: with SMTP id l36-v6mr10879466qtd.333.1538099330155; Thu, 27 Sep 2018 18:48:50 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id f13-v6sm1847655qth.62.2018.09.27.18.48.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:49 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48: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 v3 4/7] drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled Message-ID: <20180928014842.GA10506@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 Fri Sep 28 01:48:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618847 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 47514175A for ; Fri, 28 Sep 2018 01:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3288C2B404 for ; Fri, 28 Sep 2018 01:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2714C2B421; Fri, 28 Sep 2018 01:49: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=-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 CCFB22B404 for ; Fri, 28 Sep 2018 01:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728787AbeI1IKO (ORCPT ); Fri, 28 Sep 2018 04:10:14 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:35534 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728742AbeI1IKO (ORCPT ); Fri, 28 Sep 2018 04:10:14 -0400 Received: by mail-qt1-f194.google.com with SMTP id z14-v6so5050076qtn.2; Thu, 27 Sep 2018 18:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=c8SZdRT8uG27oQeqK7ZCzA/WksemdQTwt+kyyR+bEonEmei04H6YjdDbDlg2122FOG T3cYP5zY0QTnz1iQaI24ZuCYzlIrFldDqR0TURihKRKun59nsNfPYbA76y8jr4BddIsV y6XRn0ZBykh9amdfA0EMnSPcKd6pU5gl9k4SEXXPzIpUtk5wC1riIQrQ1FHfqVycvMCI W+R5Qf/6WQh/57idCg4ZF4hE8OAD0lcvCWyrg4cEn6evO4i7PO83SgmtNK0XM/PUPkPg 6ifNF53OjVGuim2OtRj7lEfYcpi534CAF54EO14KGsfj5SBYZLT8vPD591b3bSWSWZVb aIHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=wFwPD257gEf6jcXSywUF4KDj7r7qvliCjiZQYQyJ1vc=; b=mb2ZZyxjWVMc074eNO0ZPMy0s8RL6b1NiN7we7vAX2xMEvHh5swh3OwaxlMWZue4bA c0HKoh1RPCcTi/2WZwTfQQpR0Fm1OmwiHufFfuDIBHFeLCjYU98RSTuhY1kyqgXzCc3+ 9mhND/2z/km1d4zIqpA2U/a2AM8TX4TzvKwOSDe9SeDVn4nhNFCBVup9BV+EpFHzXVOR 6tzaMWXIWAS9SxcUZRxMfHHFyrMFXk6kfb6sZOrW/kfe4gG3CBYyEBZR2OLsM+T6xQWX pd7BuXFN8RUAjl1OY8bG1Sz/FPlfD497dDXvfJMYuUED73BxZmiUsqiAd5jx1+tJBtKw +gqA== X-Gm-Message-State: ABuFfoiy5RYHexy5n1pTrMfq2uOqJUMfHjgy7dvCEM1kbSR3D7Td3Nm8 oeeSj3peeVBGOY/KRbXDlMXOa5CE X-Google-Smtp-Source: ACcGV61hrLJe6Vh1+sdcXCNxSUhfr1YFWDxiRAC3Qp1ck9WvXcpgMlx1QPBYJveKh0sowCwKDUbkYg== X-Received: by 2002:a0c:fa52:: with SMTP id k18-v6mr2522052qvo.170.1538099339271; Thu, 27 Sep 2018 18:48:59 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id x76-v6sm2282427qkx.25.2018.09.27.18.48.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:48:58 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:50 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 5/7] drivers: s390: Avoids building drivers if ARCH is not s390. Message-ID: <20180928014850.GA10508@WindFlash> MIME-Version: 1.0 Content-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 Fri Sep 28 01:48:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618849 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 3E32C1759 for ; Fri, 28 Sep 2018 01:49:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F1E02B404 for ; Fri, 28 Sep 2018 01:49:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 231C82B421; Fri, 28 Sep 2018 01:49:15 +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 CE0962B404 for ; Fri, 28 Sep 2018 01:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728813AbeI1IKW (ORCPT ); Fri, 28 Sep 2018 04:10:22 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:42307 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbeI1IKW (ORCPT ); Fri, 28 Sep 2018 04:10:22 -0400 Received: by mail-qt1-f194.google.com with SMTP id z8-v6so4983824qto.9; Thu, 27 Sep 2018 18:49: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=e059U9EVFIrXzIdKY/vX6Gpjk8Vp1fLvpRknwNsZouQ=; b=KVpcQBTjrlOH3LKyZy/zbEGly8Glb8ZUMar4j3GtDF4PXif8OlTAR23frJF4FOlroL DPAgJ0q3Wn/vUy7tRlpEP/4JRZIx12wPrAY6utr+KWBWmRlpPILnlwuyazwsj9r1V3wK MBz7M/JwKMj7FJ+6nIquQdeCWDCZmAS81u+txvDi9l2DR/VX7bsNi+UUlRn1VBpVDNrg X8JGk4PWrdE6ES0GYvGrpMxV4rIwdWCGRhb5rYroqGieIRqsvuqhpfGNydPCbONCElOG T6pJv8Cbv7wcedD7SyfMzapoQPNUb3dRUpZ7IkNLtOwZ21iiNMXA9exZiBb0ecwR+kOE paUg== 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=e059U9EVFIrXzIdKY/vX6Gpjk8Vp1fLvpRknwNsZouQ=; b=AjPgG5d54Qm3mwyfEvfP31Z8Vxv5E3yyrDNl50aI3BFr/fjkCPFUeUTx0ucbURWfYs hjulWFDPy1vGf2xlgIMgUjJIwrWxb/KcbfgwRwSyckbCXtJ42xnDQ5FMH5xai4CAE6vV Lqnk5Q1CE4xBpa44CDbmSHQb7SBDjV8XaxciKepMeU1jczJumfemmofSfLhTf1dDrbVD Pl0QULf8wy5ftnMBTQ6MyrIfrGDLfWQMSHAnDLNQzmiZZ5NhlGS9eOiVfLLQUFa1r+N3 D6oeBRdHmsMp3szZQ1Sip/Jb4IyXBNb7ps0uyVEoHSxfED55W+2Nv5fkp4i+Zn7y1H0P eWqQ== X-Gm-Message-State: ABuFfogARZ+DAv8o128F7EK8dApJQ1T/LOOFTst4MzjzrIfkPGplO9Uu l7pqNqogaeRoVZFswxKLFXo= X-Google-Smtp-Source: ACcGV61VDW3NTTEg77m4SCYJ6SFUyjd7eIOUhdgj7kWVr6o6G0xd4XlE6VbNW+8u0wG2v6lGm7LMew== X-Received: by 2002:ad4:50ce:: with SMTP id e14-v6mr9913618qvq.232.1538099347670; Thu, 27 Sep 2018 18:49:07 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id e67-v6sm2053234qtb.33.2018.09.27.18.49.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:49:07 -0700 (PDT) Date: Thu, 27 Sep 2018 22:48:59 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 6/7] drivers: oprofile: Avoids building driver from direct make command Message-ID: <20180928014859.GA10525@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..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 01:49:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10618851 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 BD5481759 for ; Fri, 28 Sep 2018 01:49:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABEE62B3F5 for ; Fri, 28 Sep 2018 01:49:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D7B12B414; Fri, 28 Sep 2018 01:49: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=-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 4E95F2B3F5 for ; Fri, 28 Sep 2018 01:49:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728838AbeI1IKa (ORCPT ); Fri, 28 Sep 2018 04:10:30 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44321 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbeI1IKa (ORCPT ); Fri, 28 Sep 2018 04:10:30 -0400 Received: by mail-qt1-f195.google.com with SMTP id c56-v6so106896qtd.11; Thu, 27 Sep 2018 18:49:16 -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=G6OpdTRqYZ/ftgzslyT+868KFJ9PQMciXC53c8cCGV7n8Gyx2L11fhInJk/tdxIZTS 6t57nShbtQPMXYbRIrLRCck+dtU9tjk5wlJE/ozEZ9cTNTpuMO9IqF+lXTcxwBdY+5bb eO1SM6Zv6MEFeF583z5l8hqwRIXjLDrsepg+UrhIOfLHhjkK3TeaF9K0qBKaQCgBRknj kuPqq1FesfDgvCY1kFMCOJRPPteEFsMxdiwfSldxVc3vuYr2v69BuVG24oh3i7vPzstr 3VNgDyGOZnDSFGZls0D5goG8Q3ItWRQ8B4OPbkeu9QaOUQezoRQyzFiWwbYnDd3O0ehY UyhA== 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=uB4LXuhQJi0GseX70IqO7nnihzJXM77bo93Te6F4mxFknFg/qmQNlbLnZJjSO2Hhck GZktUNGC9XSE3aEPY5bPY6ZQ7J2UCOE+uUKEIg2UbsZLghI3yYN0KJqT7S8F2mAGHqyh OqJN0UUeOqiQLfYC1WKbCR6gXYoxoRddukGrhb6ir6u3OCFkjpwFq0K3od70aHzKN16Y Pd520OCuI55lH224uwiuGEXlLzP7M7zY/q1fS8YxYIOJpIiXnYQ8oKbF5q2wG7GHOO55 ZM1IamyWBU9zpqiVvz69SaBM/eCFZ2AeURpJT8t1U8ajcuvKtGqDNGWwRZz+3pUA8LTG 9kJA== X-Gm-Message-State: ABuFfohyAVdzU2hQ4uJH54KhLStjbtQtH3+I4ccsLTKyUvotHjY/kJqv mL5lS36xxAkodVDLXf5+nBc= X-Google-Smtp-Source: ACcGV63JJni5LHR8ay51x9wvZnvcShrM4vrEw2oq/AxjXlSCVKVj7zLMPcLqCqreZ64PyYwhhrR+fQ== X-Received: by 2002:ac8:ec3:: with SMTP id w3-v6mr6838557qti.138.1538099355961; Thu, 27 Sep 2018 18:49:15 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id 128-v6sm2233185qko.7.2018.09.27.18.49.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 18:49:15 -0700 (PDT) Date: Thu, 27 Sep 2018 22:49:07 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH v3 7/7] drivers: hwtracing: Adds Makefile to enable building from directory. Message-ID: <20180928014907.GA10528@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/