[PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command

Leonardo Brás <[email protected]> Wed, 26 Sep 2018 22:41:38 -0300
Newsgroups gmane.linux.kernel,gmane.linux.oprofile,gmane.linux.ports.parisc
Message-ID <20180927014138.GA8988@WindFlash>
Creates new Makefile to avoid building driver if
'make drivers/oprofile/' is called directly.

This driver is usually built from arch/$ARCH and seems to have
no meaning building alone.

Signed-off-by: Leonardo Brás <[email protected]>
---
 drivers/oprofile/Makefile | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 drivers/oprofile/Makefile

diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile
new file mode 100644
index 000000000000..acaed2ad6eee
--- /dev/null
+++ b/drivers/oprofile/Makefile
@@ -0,0 +1,2 @@
+#Does nothing, since the source is called from arch/$ARCH/ tree.
+
-- 
2.19.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.