[PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command
From: Leonardo BrÃs
Date: Wed Sep 26 2018 - 21:41:53 EST
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@xxxxxxxxx>
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
@@ -0,0 +1,2 @@
+#Does nothing, since the source is called from arch/$ARCH/ tree.