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: 9639875 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 A897D6020B for ; Wed, 22 Mar 2017 19:05:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BFA128452 for ; Wed, 22 Mar 2017 19:05:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80BA02846F; Wed, 22 Mar 2017 19:05:30 +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 0574728452 for ; Wed, 22 Mar 2017 19:05:30 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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)