Skip to contentSkip to conversation

drivers: oprofile: Avoids building driver from direct make command

PATCH Superseded Leonardo Brás 1 participant 1 message Sep 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 6/7 drivers: oprofile: Avoids building driver from direct make command

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.

---
 drivers/oprofile/Makefile | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 drivers/oprofile/Makefile
drivers/oprofile/Makefile new file +1 -0
new file mode 100644
index 000000000000..361867ec2338
@@ -0,0 +1 @@
+#Does nothing, since the source is called from arch/$ARCH/ tree.
Signature · 1 line
2.19.0