lkml.org 
[lkml]   [2021]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1 1/1] platform/x86/intel: pmt: Use y instead of objs in Makefile
Date
The 'objs' is for user space tools, for the kernel modules
we should use 'y'.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---

Hans, feel free to fold in the original commit

drivers/platform/x86/intel/pmt/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/intel/pmt/Makefile b/drivers/platform/x86/intel/pmt/Makefile
index 019103ee6522..279e158c7c23 100644
--- a/drivers/platform/x86/intel/pmt/Makefile
+++ b/drivers/platform/x86/intel/pmt/Makefile
@@ -4,9 +4,9 @@
# Intel Platform Monitoring Technology Drivers
#

-pmt_class-objs += class.o
obj-$(CONFIG_INTEL_PMT_CLASS) += pmt_class.o
-pmt_telemetry-objs += telemetry.o
+pmt_class-y := class.o
obj-$(CONFIG_INTEL_PMT_TELEMETRY) += pmt_telemetry.o
-pmt_crashlog-objs += crashlog.o
+pmt_telemetry-y := telemetry.o
obj-$(CONFIG_INTEL_PMT_CRASHLOG) += pmt_crashlog.o
+pmt_crashlog-y := crashlog.o
--
2.30.2
\
 
 \ /
  Last update: 2021-08-06 17:57    [W:0.201 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site