Message ID | 20180926015305.GA14994@WindFlash (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | Remove errors building drivers/DRIVERNAME | expand |
Leonardo Brás wrote: > 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 --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile > new file mode 100644 > index 000000000000..6b36c93e9762 > --- /dev/null > +++ b/drivers/oprofile/Makefile > @@ -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
diff --git a/drivers/oprofile/Makefile b/drivers/oprofile/Makefile new file mode 100644 index 000000000000..6b36c93e9762 --- /dev/null +++ b/drivers/oprofile/Makefile @@ -0,0 +1 @@ +#Does nothing, since the source is called from arch/$ARCH/ tree. \ No newline at end of file
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