* [PATCH 7/7] drivers: hwtracing: Adds Makefile to enable building from directory.
@ 2018-09-26 1:53 Leonardo Brás
0 siblings, 0 replies; only message in thread
From: Leonardo Brás @ 2018-09-26 1:53 UTC (permalink / raw)
To: lkcamp
Cc: Alexander Shishkin, Finn Thain, Robert Richter,
James E.J. Bottomley, Helge Deller, Martin Schwidefsky,
Heiko Carstens, Geert Uytterhoeven, linux-kernel, linux-m68k,
oprofile-list, linux-parisc, linux-s390
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 <leobras.c@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-26 1:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-26 1:53 [PATCH 7/7] drivers: hwtracing: Adds Makefile to enable building from directory Leonardo Brás
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.