Skip to contentSkip to conversation

drivers: oprofile: Avoids building driver from direct make command

PATCH Superseded Leonardo Brás 2 participants 2 messages Sep 26, 2018 s390

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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..6b36c93e9762
@@ -0,0 +1 @@
+#Does nothing, since the source is called from arch/$ARCH/ tree.
\ No newline at end of file
Signature · 1 line
2.19.0
#1 lore raw
Quoted 18 lines · Leonardo Brás

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 +0 -0
new file mode 100644
index 000000000000..6b36c93e9762

drivers/oprofile/Makefile line 1

Quoted 2 lines
drivers/oprofile/Makefile new file +1 -0
@@ -0,0 +1 @@
+#Does nothing, since the source is called from arch/$ARCH/ tree.
\ No newline at end of file
    ^^^^^^^^^^^^^^^^^^^^^^^^^

Is that intentional or bogus?

Eike