From patchwork Wed Mar 22 19:05:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 95823 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp388864qgd; Wed, 22 Mar 2017 12:05:30 -0700 (PDT) X-Received: by 10.84.241.203 with SMTP id t11mr57852306plm.48.1490209530031; Wed, 22 Mar 2017 12:05:30 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 145si1983172pfa.360.2017.03.22.12.05.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 12:05:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2FE546E95F; Wed, 22 Mar 2017 19:05:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot0-f193.google.com (mail-ot0-f193.google.com [74.125.82.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id BA9126E1D3 for ; Wed, 22 Mar 2017 19:05:27 +0000 (UTC) Received: by mail-ot0-f193.google.com with SMTP id i1so26631187ota.3 for ; Wed, 22 Mar 2017 12:05:27 -0700 (PDT) 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=92YvT2h5aFwJ5kfl9H694GTc89zZnlGRV27su9bZ2KA=; b=dvfFP5Hj8J7/Nrlmv4qdoXgRD+pZIe376Fo7XRXpTyEs4JGzswlrKHsvLQ0fP5283G iEXFOsmyeyrhIX9Qiiv4KiwpORMWtb1CCnEofMvgmsbdXPzkxOKKhlukqlP40WxpOm4n LtvGn3iy4rSaZeRhkBMXZSLb7t+eR/kTmLHICrxq0R3X1u6yVSlVmzkp7T1ptb3G2M4q hNoBz0vZUJoQEql/T3DG6tp1VojJDml0Ewuu0K1HI+wJsEeCpae/3GVMcGcyKIPLVu78 GidfTlkMQ8Ny5XXwx0xb3jfPvPt6OUbV641Tz/GICadSUeaKW92PKQumJgKgQLHcfhz/ cRWg== X-Gm-Message-State: AFeK/H2bkZqu/LjyvHM9pZfmSv7ktXgJvTNY2XjJmuaaBxlWVAc+rs418FBjsqDAALMYvQ== X-Received: by 10.157.22.201 with SMTP id s9mr10976413ots.122.1490209527098; Wed, 22 Mar 2017 12:05:27 -0700 (PDT) Received: from rob-hp-laptop.herring.priv (66-90-148-125.dyn.grandenetworks.net. [66.90.148.125]) by smtp.googlemail.com with ESMTPSA id r130sm860491oif.20.2017.03.22.12.05.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 12:05:26 -0700 (PDT) From: Rob Herring To: Emil Velikov Subject: [PATCH 1/2] Android: fix building of modetest and proptest Date: Wed, 22 Mar 2017 14:05:24 -0500 Message-Id: <20170322190525.16592-1-robh@kernel.org> X-Mailer: git-send-email 2.10.1 Cc: dri-devel@lists.freedesktop.org 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" These tests depend on tests/util/ headers, but expect the include path to be tests/. Signed-off-by: Rob Herring --- Android.mk | 2 ++ tests/util/Android.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Android.mk b/Android.mk index 5209059e670f..292be2360263 100644 --- a/Android.mk +++ b/Android.mk @@ -24,6 +24,8 @@ LIBDRM_COMMON_MK := $(call my-dir)/Android.common.mk LOCAL_PATH := $(call my-dir) +LIBDRM_TOP := $(LOCAL_PATH) + include $(CLEAR_VARS) # Import variables LIBDRM_{,H_,INCLUDE_H_,INCLUDE_VMWGFX_H_}FILES diff --git a/tests/util/Android.mk b/tests/util/Android.mk index 7656c4c29883..12eccb42add3 100644 --- a/tests/util/Android.mk +++ b/tests/util/Android.mk @@ -32,5 +32,7 @@ LOCAL_SHARED_LIBRARIES := libdrm LOCAL_SRC_FILES := $(UTIL_FILES) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LIBDRM_TOP)/tests + include $(LIBDRM_COMMON_MK) include $(BUILD_STATIC_LIBRARY)