From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leonardo =?utf-8?B?QnLDoXM=?= Subject: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command Date: Wed, 26 Sep 2018 22:41:38 -0300 Message-ID: <20180927014138.GA8988@WindFlash> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Return-path: List-Archive: List-Post: To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org List-ID: Content-Transfer-Encoding: 8bit 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 --- 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 index 000000000000..acaed2ad6eee --- /dev/null +++ b/drivers/oprofile/Makefile @@ -0,0 +1,2 @@ +#Does nothing, since the source is called from arch/$ARCH/ tree. + -- 2.19.0