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/