Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp184200imm; Thu, 27 Sep 2018 18:50:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV625PkaztUNdI3YzCXoNTFpXHT9lgKU9IIhhLzo9MGpCB9rjm180cYE20nsGqQbA33KDn+N4 X-Received: by 2002:a62:174a:: with SMTP id 71-v6mr14342132pfx.217.1538099421452; Thu, 27 Sep 2018 18:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538099421; cv=none; d=google.com; s=arc-20160816; b=NSzGuTNR9vUock6bemyAdhENywx3wRIEYXGeKKBY5WHd0wEW1bzewP5K3OFUsGsM/0 1c3oNoSOlqn6pcG+H1JVwoaHlWo/WVmE/xDOlbXZnweuMfHBRyluj3GeDUlaKlEvSkk2 Q0M+tKB9aHuG5CciWQl7RRPVFapnKFPuMXCuM2oNICCuE2qbTWWEu61Sy8kecf2ng6AP QvQ0A41XfWOMxkiYEsWl8ycz3UR1aARpkraXjmllNzKPD5xmmCCgcYiF0GewVAQfi76S n1K6JQ1JFUFzYHo85GMfC2xv9X5Ckh7Uqx7Zr3CDmWutuCKxamoQuAwxeC1P7i8Bc0+p vTSw== 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=tfko9Zt/PbFgM2iB69ficPBHFpYSIilBiVE5sN4RFJqn83SGZtMdtrR7D8kZp2vCsp g+rOUahYa4CEwl2pmyX0OiKX0Fk7DNDCRJw7Fo5ARS19obz5x9/2P222af6yvilOdC1W MgrgA4QGOmUZ+iYZquf4dqmB0cwAe7sghoyOCCItDOF7rofA+Do7Y+eLLTC/NZfrjC63 w1kg0+zePIUOU6Hs+zYbjwZYxOzzatGLMs3V2jidzLDRA/9N2Y5n5DyCvVXENJ9pQS1l domnrUop5QsqobwUCSvlHQnRDoBZ0luweS5qZBMhr8zK1+mhOyoFsQYicAn0P/UIkB7J Xifw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G6OpdTRq; 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 j124-v6si3846663pfb.191.2018.09.27.18.50.05; Thu, 27 Sep 2018 18:50:21 -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=G6OpdTRq; 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 S1728851AbeI1IKb (ORCPT + 99 others); Fri, 28 Sep 2018 04:10:31 -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-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-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