diff mbox series

[v3,6/7] drivers: oprofile: Avoids building driver from direct make command

Message ID 20180928020816.11251-7-leobras.c@gmail.com (mailing list archive)
State Not Applicable
Headers show
Series Remove errors building drivers/DRIVERNAME | expand

Commit Message

Leonardo Bras Sept. 28, 2018, 2:08 a.m. UTC
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 <leobras.c@gmail.com>
---
 drivers/oprofile/Makefile | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 drivers/oprofile/Makefile
diff mbox series

Patch

diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile
new file mode 100644
index 000000000000..361867ec2338
--- /dev/null
+++ b/drivers/oprofile/Makefile
@@ -0,0 +1 @@ 
+#Does nothing, since the source is called from arch/$ARCH/ tree.