From patchwork Thu May 2 18:03:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10927473 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 5DC5614B6 for ; Thu, 2 May 2019 18:03:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DEFB204FD for ; Thu, 2 May 2019 18:03:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41D7421FAC; Thu, 2 May 2019 18:03:56 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 D246C204FD for ; Thu, 2 May 2019 18:03:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CB76896C7; Thu, 2 May 2019 18:03:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A6E989624 for ; Thu, 2 May 2019 18:03:52 +0000 (UTC) Received: by mail-pf1-x435.google.com with SMTP id z26so1504914pfg.6 for ; Thu, 02 May 2019 11:03:52 -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:mime-version :content-transfer-encoding; bh=FWx0BTDq0IpP5KcejHkSpaBJOp0v0+skd28Nt1+RzDc=; b=tuWYdeJOpQo6trflucaQJmVzpWWl2nEbzQaIL4PVI637eGMdDI+Q00+UrQdiysTLhd Yi1fNbf12GAjeuefJ/gZXJzB6cVeWusXvbtn0ITR6n/5a7bgmbp9zqBrxHsCm86uz7XK v1igQKqXqVUZoJWhGqdrVgxMlrDV4GvNFHDYdExzxf9A4Ur7YkMiKJYGzHHKPmZJXziu OTk29vE2t8YuttAo9+3geBQwQGDo0wwdPritcfsHUlR49+24VviAvKuRm8MZ/UMUlUQJ pUncgl6mCZDwNyzla+RE60/TBNw0pgOAJKFG2KJmOlKN4JfTwwUJ5CD2CJWS6qyIycWH CIjw== X-Gm-Message-State: APjAAAWOjVcKxOafmM4ktig4yznH18tNFbU6OdXXaoPgsxX7SxI3w/L1 icDhjru0tvIseUL8v2lZt2v88aa1Y+Y= X-Google-Smtp-Source: APXvYqxA441nDCQ2R3Wlbs+Sa3jewOk8uYo2Q8oHXUN9/1wWFjpeT9IPj9sBIXfxHl0RRyGAZVEKBg== X-Received: by 2002:aa7:8dc3:: with SMTP id j3mr5585755pfr.141.1556820230426; Thu, 02 May 2019 11:03:50 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id c18sm90371672pfc.0.2019.05.02.11.03.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 11:03:49 -0700 (PDT) From: John Stultz To: dri-devel Subject: [RFC][PATCH 0/3] mesa: Initial build fixups for AOSP/master Date: Thu, 2 May 2019 11:03:43 -0700 Message-Id: <20190502180346.4769-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FWx0BTDq0IpP5KcejHkSpaBJOp0v0+skd28Nt1+RzDc=; b=u9qgaKSUduGlOXr0yTBz/TGhQYhMYNZuK0Oc6IFbSmCcLQhOdJnFNTkU3Yd1rHmUq9 5EyPotGzQotmVP+k8Y7X3IXUf1Zgr7HN5wkFjGiiTS+sX7X3qrPlC34mfP3YMB/L1IzA +Dj8HcgA6zHgSQJfmfbBMiNCWU3jbqVsENBd+30IeM2mGvrqemaC2jj4mcE7CdJBZD66 nGB1ELb/7s+nsz6qjrjlRezA/pF8v2KO7J2psDDI5pVdeQqcjnibZyjdhgqR3cwtlcp3 XFoGthnoHvIN7lmhR00wpzn4EmwIM1VUEsnMfM8uo11ltj31jNL67cKDkFuYCuonfsdv +oGw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Clark , Amit Pundir , Greg Hartman , Emil Velikov , Alistair Strachan , Jason Ekstrand Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Somewhat recent changes in the AOSP build system has been made which fairly severely restricts the build environment. This has made it difficult to test mesa/master w/ AOSP/master. I'm working with others to try to remedy this, but as a first step I used some hacks to temporarily remove the build environment restrictions, and unsuprizingly found mesa/master has a few build issues when trying to build w/ freedreno. So this patch set provides only some very basic build fixes that are needed to get mesa/master building w/ AOSP/master (minus the build restrictions on external tools). Feedback would be greatly appreciated! thanks -john Cc: Rob Clark Cc: Emil Velikov Cc: Amit Pundir Cc: Sumit Semwal Cc: Alistair Strachan Cc: Greg Hartman Cc: Tapani Pälli Cc: Jason Ekstrand Alistair Strachan (1): mesa: android: Remove unnecessary dependency tracking rules Amit Pundir (1): mesa: android: freedreno: build libfreedreno_{drm,ir3} static libs John Stultz (1): mesa: android: freedreno: Fix build failure due to path change Android.mk | 1 + src/compiler/Android.glsl.gen.mk | 2 - src/compiler/Android.nir.gen.mk | 2 - src/freedreno/Android.drm.mk | 41 ++++++++++++++++ src/freedreno/Android.ir3.mk | 51 ++++++++++++++++++++ src/freedreno/Android.mk | 30 ++++++++++++ src/freedreno/Makefile.sources | 2 + src/gallium/Android.common.mk | 5 +- src/gallium/drivers/freedreno/Android.gen.mk | 2 +- src/gallium/drivers/freedreno/Android.mk | 2 +- src/gallium/targets/dri/Android.mk | 4 ++ 11 files changed, 135 insertions(+), 7 deletions(-) create mode 100644 src/freedreno/Android.drm.mk create mode 100644 src/freedreno/Android.ir3.mk create mode 100644 src/freedreno/Android.mk