Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1444646imm; Wed, 26 Sep 2018 18:43:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV60zjgkceNYVERxaPIPLZC53+q+ovRk01Chohu9zPtTOcFD7QwRdQ4Hl6untmur7JN9FK6Qw X-Received: by 2002:a63:4425:: with SMTP id r37-v6mr7875334pga.391.1538012598887; Wed, 26 Sep 2018 18:43:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538012598; cv=none; d=google.com; s=arc-20160816; b=uaTtnue9bOn55ce3cnGedG+Ew0CuGKMqviELbasH52xtvcUXDvF1LHO+n38SgrD9UO Nw8qSWWFeg/gPRwiGkki6FEcNFs1LudhtL6RvziP7vU2ijqkK+BrtBkaDQMqItq67ZYH XiMORZ0VDAhFF5xQQTqo7z3mHyaaajdreUq1jFGTqzKMSjTJ98UrS2YsYzUyJLxm4qra KLsTJCWCZ+uhhnZIi6jsrKgsJuQLaFtbgGZUH8xCTYPcdA59ndQNzKSMKHDzocL7fohs 2GXqyhRa1zYHuzhSeFVVk+JX7/T3TPoPLIZwwHoNmKQQ1E//9ZKTd6wwX7fFYuNxL8+q S4bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=rMm2+lCHdRq1hAXiGGgKs8/T8hmcxjsKfDu3a/yDEsShvVVwtdLpczn3IxHUbHH1Tz L6yQ67L6zUvBHTUpDCh7PCbM7elli5BZUqNle2OqPijQWkufvXNhDW0FDceUbCr6/TJu ngWnAQoZ41Tj3CLNHFFHw2z4kdTWAQW00ulzgP7jOrHBDDWq5Mx5zvZQ+B0w5wsPM5pQ 83GwFlcsUBfydS+jiMrw3o+xCKUg1fEGqjDvSFkAk+qWJXXhQBzkn6bDnmrL7Hf498qe x5wLDOzxtdHOsY9rflA70HAeJ3pNNHoOnQd16V1NcRRgVZMG4MfzWbSXGAlI2OT2028v ti1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bPaqGZYQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7-v6si611658pll.181.2018.09.26.18.43.03; Wed, 26 Sep 2018 18:43:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bPaqGZYQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727265AbeI0H6C (ORCPT + 99 others); Thu, 27 Sep 2018 03:58:02 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:41570 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726948AbeI0H6C (ORCPT ); Thu, 27 Sep 2018 03:58:02 -0400 Received: by mail-qk1-f194.google.com with SMTP id n3-v6so622671qkn.8; Wed, 26 Sep 2018 18:42:14 -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=bPaqGZYQVSwfK131ivTOy9NJoZHHfv8fWF5x5Bpce/ydhsq8I2QQbMkJcOOabbs+x/ ZuAtrudjfCSVlEElbTk5yuNDfNZpmNhwEn2a7Ck1Gvg6Z4ZE55AzaiOmjr8wOV7PrQbh J3p6B0flIpPJwIArcPRBhPbCO2/a7DE260YMzZsrExSFqGr1u7yI/2CY9Vr4TAGYBA3S 8fwuASzF9RXqdGA97p6/oF9p38m2bj/NZDrjwqZVQI+BbKeWIkRvIVXUuo2crkG3SwBN q7yn9T/QUQJPHJFpt8N7s3sB+8kUlkpmzTbQpQk9/SiYnE7jOniYECZcbtLtHoiHhtMq jZzA== 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=RF+Kai4Mxm9boG5HVgg1FUea7vAAlZ+dLLnv14K0TXhsxuVL6LDGerw4IbgtMBqa8c YHUfwULbQCCrAWP8U5yu73lx/8surYkmJXxnKh/Pn2XFjlKd+VFOnYu+4jAThBOnZxPO yqnQcs39dpUAAgHPtKyQ9zJNDfXLMGG32s0qNX0mhHbohYeWso+lkpGalrqAnqGyUkcB lHqmh3znMe2pEppWf3Pr62ltWHDk43v+10QRb2lHwxCQ1hWZJpWG0CrUrXeegodSGWkH 97a2MloUQ+H2sRnWdROS+zwutnmTmIBBcfl1BlTWCJmXSRWeG7mN0d0Nl2ZdPKMDAnO0 6XIA== X-Gm-Message-State: ABuFfoiFeg6Aa0E1nzcyyIGPfDjUMGCev2fSDT9zCXJiCNPCm/zdRE9q nC9N7cHr+Gz3A0/zyoneTXA= X-Received: by 2002:a37:bbc1:: with SMTP id l184-v6mr6415136qkf.111.1538012534356; Wed, 26 Sep 2018 18:42:14 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id s64-v6sm362867qkc.70.2018.09.26.18.42.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:42:13 -0700 (PDT) Date: Wed, 26 Sep 2018 22:41:58 -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 v2 7/7] drivers: hwtracing: Adds Makefile to enable building from directory. Message-ID: <20180927014158.GA8995@WindFlash> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ -- 2.19.0