From patchwork Thu Sep 27 01:41:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Leonardo Bras X-Patchwork-Id: 10617145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27092175A for ; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1542D2B37B for ; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08DCF2B3B6; Thu, 27 Sep 2018 01:41:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B715D2B37B for ; Thu, 27 Sep 2018 01:41:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727197AbeI0H5h (ORCPT ); Thu, 27 Sep 2018 03:57:37 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:40936 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726922AbeI0H5h (ORCPT ); Thu, 27 Sep 2018 03:57:37 -0400 Received: by mail-qt1-f196.google.com with SMTP id e9-v6so1080432qtp.7; Wed, 26 Sep 2018 18:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=CzCnr08q8AXxDBV5AnX5g7J5d+hw/S8rc+cNPIu4E30=; b=ShiyD3UtGnwft2HaEDtEh52aOy7+HNXwP5G3zf26dcF+t+0ofNxJsAblVBFGcHC1Zt AOkyu4MqymOfg927YMI36Z8l/gtgou1t8ILusRRh+qNosvPwpGLSr48ejYNmseREE4Zr PC3alx3s0uR48oWqBqHOnmcJAgTIu/63oIjbMRH8lA8fNLd5vWZhyVFFjOQ7fRG8jqjF wEIRISAUAJno26gq3V+ZnrD+clCVPb7kRYA9Ho7cYf9S8FhJKrcUTWiIv2mRwl4YOzdF RQsHOGnWRlO1uPDG74ycjViokRMZi3FBowlkT4KUYthxsnCvcrR1A1tRspHURmTEnYlZ tqRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=CzCnr08q8AXxDBV5AnX5g7J5d+hw/S8rc+cNPIu4E30=; b=SZ8no6Iu6ePXTS4VHCz2JncxYCPb8Te25M1bqHhPJHA9JGIFaYg+dFosQUfLXBt6nN PnfuWMBfjmHVgmFw244WOYAzWWReHOPtW3QqoL01S3FO4r0VcMk2RPga24vqycQ7tPe7 ibBUjb3qfUSoWCN1VLAn5HUXmpLFsPaS5UuaEqjPBrXs+waWmGo5fK06oLl5WKs0gc3y E3ZzVk4AAN7qFHJEY5bJEPyZbbTbD0FuGGc9yzZ8zVQwnW6IUQsgh8FdBMmjN039L51G KqR+AS99TaPpXNpl3DvpL/6ToaisO0pWA9Xw0UR2zc9sl9eE8NyV1wwLf3pubAwNqUJB ioXQ== X-Gm-Message-State: ABuFfohchqQUVVjfEYXt7Q0KCPE9OwoI6I7tmqQchVj31s0vrE7a4xxZ tYCllmQnO6llVSGYre9QAok= X-Google-Smtp-Source: ACcGV61guLxOorFBKyrdykcb/srxmdUkw5Bb8MOLQmA8CejweC/0gxD4XEKssPdEGdo5id1Nhru8/w== X-Received: by 2002:ac8:3f56:: with SMTP id w22-v6mr6980214qtk.151.1538012510418; Wed, 26 Sep 2018 18:41:50 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id o2-v6sm438617qte.16.2018.09.26.18.41.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 18:41:49 -0700 (PDT) Date: Wed, 26 Sep 2018 22:41:38 -0300 From: Leonardo =?utf-8?b?QnLDoXM=?= 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 Subject: [PATCH v2 6/7] drivers: oprofile: Avoids building driver from direct make command Message-ID: <20180927014138.GA8988@WindFlash> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. +