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: Leonardo Bras 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/