Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp198676imm; Thu, 27 Sep 2018 19:11:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63E1OmoNCTyiCxlGRAT5mKpVaxD2BrwP4cn7tYUs6gy82XloliePJhPQcA1kHkuHQlIE4R0 X-Received: by 2002:a17:902:e101:: with SMTP id cc1-v6mr13693533plb.96.1538100698378; Thu, 27 Sep 2018 19:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538100698; cv=none; d=google.com; s=arc-20160816; b=dGz/FKtJLZx1kzl23vs973SkRtUx5NrQjuQRcHH2AqSgeKtojVj2NIUiPmbkaJF8Jv GMkAs7eqFmZjr07E8KZdgzNd85n5rJs8+/4EjWWWWf2G2ISVDHWSOOC/P0gMzX9OEai9 3TdThEeui97m7tt8YdbeL6vABQ8vlkkREWlf5VG/qywzOGR0PGUYGupoTK4A1cfRPtBm zscDVvBhb2L/6POy3CPA2VuDe04ui+YB+BQEMvEjcPUm2YlFwgu4fObr+/33wQOLskqI mpF+f6fhfgehJ1pYL1Ec3E0BMZ0AE/QJHP1neSUF1OOVu+AkF5G621wEBNyJFoqRDEXS nCSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UAb82koJUru3xjb0CPohCP8QGMSpSYev3ABFomuLfos=; b=kwPzxARvldKbJr7a2o0Y9Z9IkaGeG2P7rt0x/8ajeRg4Zu/gS2kJeOaA/OAllCB/WS bGx3tFxrDl+mN9ko15uZDYkEliN4i7jblqhx51buqFhFyaClbo1Zs/Kv1kK88LGkkRld XzgxjVF4qtCmF3gLqa0nQhYuITOvOiHYeE+18GBqdS2au0Smhuc7rPFB7YntyC1lxBT0 qy5bDKBVFODNNTRCg7Kkd7IGua6ZZY1vo28xHSgRVszTb5ocdt0CKKk50A8+2ktpU+MF RCSKzuhlegWWSj4NbZPzsUJXVX4ZfH95YHnoATK0wA5+wCG7rF6IfnVaB9JMGHz9fYVV u5XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EzXyfMSH; 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 q15-v6si3445941pgm.595.2018.09.27.19.11.22; Thu, 27 Sep 2018 19:11:38 -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=EzXyfMSH; 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 S1728966AbeI1Iaj (ORCPT + 99 others); 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-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=20Br=C3=A1s?= To: lkcamp@lists.libreplanetbr.org Cc: =?UTF-8?q?Leonardo=20Br=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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