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: 163277 Delivered-To: patches@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp6032587ill; Thu, 2 May 2019 11:03:51 -0700 (PDT) X-Received: by 2002:a17:902:4283:: with SMTP id h3mr5059705pld.176.1556820231298; Thu, 02 May 2019 11:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556820231; cv=none; d=google.com; s=arc-20160816; b=mAl1Vt1/4iWCgTTapwes9MRCQfwcAUv6cWvCbI9S7ad/V/eqy7SDVXUDUoC7eeQWqr 8YHIfJpBCex56REGGQk22VX76eeErzrvZTzz3MrHED7hqOB0Y0tyc8WuE2aGrEj+V9Ym 52FJBzJjLJrjPP8d53iUgUexf4b2eYMwPzG1ku2zHsXNCkWf4jKSLM4pR1OSZIHRA2yH TkvI85MWJosqa5RDUa5WhC7sMn2SMjOU/m6FT6qSh8wzGcLsNCqyP2HqIlBWmjFF2Wi0 cZ/rDGjCpztHrwJTZQ6jfOx8VCdk/rT0CzmUYUumkbrMVWo38UMDXjiIQZWLSUvmn742 M2IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=FWx0BTDq0IpP5KcejHkSpaBJOp0v0+skd28Nt1+RzDc=; b=eZNxdWDAM+C+8nEZbTJL3C9YV4NawktbUSZn41JXg9DX/gxaU7qqfP3cR09/37nSk5 FEkMtTXcSKXf15Bv5Z6E5nRxjkCIEzxgUBGNf2xBm5avcN7m2+E/tyvu++rDpCXMp28g 8sYwXmm7p5ECiaG4U0rH5GHrmsMDX0svK4vEIJI9Be2QRLkx06IZbAiiz3n78uCVOQXr 4W1RhM/ockaKPGPVSnQMfXEqJZQ7FXFFtOLY+UZNgndWjIULN8MPiTQBuW+tEuLg1Un2 /kmkXQ1HIk9uMFdoCQf0n8Zn4actfZmt/T5LY9OP/9vpzrB2JEmjhryiPDL4Rzbc+IwI 8SRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u9qgaKSU; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id j66sor48048713pfc.54.2019.05.02.11.03.51 for (Google Transport Security); Thu, 02 May 2019 11:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u9qgaKSU; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-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=fxDmL699HATNejSR5KQA6Ah8gOVgXYvcuxvaZjZ8CbCZyAG8AhhYSYA+a9mVQBLCzV RP424wD+62sb6QrCLGaU7iyeG9vuLzk6j+zDieS57HqfAbcPHZtiaGOCIEPmGprdQEyz AtEtiz8lQWGyQYxD+xF4Dkf5GsV8sB5SZrHzVNwhc+pUDD/Dnz4i/3u1SXOK4+mZJkJb LP/Rv22T3hqtLqNL7h07ROtwzpPYByHt5jbvKpPTmc59ha5aMxI7YRxx40+a5MW1saZM jGOeXQf10SNdLmnwnd5UIHyOxlS6s6StrkA+M6CnSGOGg2WJAfwa5QL93R9vutd7wUmC p8lw== X-Gm-Message-State: APjAAAWqTIpwVsos8rLU+Q9u1MHkBv8ZVjcZneh5NaH/sez+96FiaMww TVc4fzGrLZ/EOJbdugNbAb08/LFk 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) Return-Path: 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 Cc: John Stultz , Rob Clark , Emil Velikov , Amit Pundir , Sumit Semwal , Alistair Strachan , Greg Hartman , =?utf-8?q?Tapani_P=C3=A4lli?= , Jason Ekstrand 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 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 -- 2.17.1