From patchwork Mon Jan 16 20:13:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 9519389 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 26F816020B for ; Mon, 16 Jan 2017 20:13:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DA2227BFC for ; Mon, 16 Jan 2017 20:13:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2C8128161; Mon, 16 Jan 2017 20:13:41 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 04AA727BFC for ; Mon, 16 Jan 2017 20:13:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CD5CE6E3B0; Mon, 16 Jan 2017 20:13:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vk0-f68.google.com (mail-vk0-f68.google.com [209.85.213.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA14F6E3B0 for ; Mon, 16 Jan 2017 20:13:37 +0000 (UTC) Received: by mail-vk0-f68.google.com with SMTP id 23so9530167vkc.2 for ; Mon, 16 Jan 2017 12:13:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DmexEbqpJ9nm6nn7UeWviQmxCaixVGlZzIUzc1b9FaQ=; b=U8wkPGY23nYJASU4dx7YP8XqmHLMrH2SUGL4iiPeScDwdtzSmSCNmJ2exxTjFevFE3 tqTz8K0nkTNVOf3sQPgxhRGX9jYnuakxfIFTeef6Z+FSeEh4W4Hq9sYA4CcWCDGwSjtx n9EGVaZBDM6TlBGWhQjfJrg6Uj14uckjuC7HMgZ5WNm2gYsXpFjFt6MhHvAiJ2+MHGZf ciu+UrHDSduhuUx56Vy3qFkJ5JYeR7a18QYIx2vZ3cz8HjSmCFrYaJoPTe7nu6CNAl8t trVAUQajNy1kXrreqqBy+kMPl36pvcOF7i3KlT6JKvdTElI3pJvVage1UTwMBReyVnj3 N14w== X-Gm-Message-State: AIkVDXKH84nSFjpQYvKsIUU+VGrPbtTwPBCXq9G0Uuo1R1Tj7BG8Y/2gpkVOaBDkwlPVLQ== X-Received: by 10.31.70.194 with SMTP id t185mr16554745vka.39.1484597616983; Mon, 16 Jan 2017 12:13:36 -0800 (PST) Received: from jade.localdomain ([187.64.235.185]) by smtp.gmail.com with ESMTPSA id q10sm8818028uaa.10.2017.01.16.12.13.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jan 2017 12:13:35 -0800 (PST) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/armada: Include current dir on CFLAGS for armada trace Date: Mon, 16 Jan 2017 18:13:30 -0200 Message-Id: <1484597610-14052-1-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 2.5.5 Cc: Gustavo Padovan X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Otherwise compilation fails like this: In file included from drivers/gpu/drm/armada/armada_trace.h:66:0, from drivers/gpu/drm/armada/armada_trace.c:3: ./include/trace/define_trace.h:88:43: fatal error: ./armada_trace.h: No such file or directory compilation terminated. Signed-off-by: Gustavo Padovan Acked-by: Laurent Pinchart --- drivers/gpu/drm/armada/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/armada/Makefile b/drivers/gpu/drm/armada/Makefile index a18f156..64c0b45 100644 --- a/drivers/gpu/drm/armada/Makefile +++ b/drivers/gpu/drm/armada/Makefile @@ -4,3 +4,5 @@ armada-y += armada_510.o armada-$(CONFIG_DEBUG_FS) += armada_debugfs.o obj-$(CONFIG_DRM_ARMADA) := armada.o + +CFLAGS_armada_trace.o := -I$(src)