path: root/robher-aosp.yaml
diff options
authorRob Herring <rob.herring@linaro.org>2017-05-12 08:03:35 -0500
committerRob Herring <rob.herring@linaro.org>2017-06-06 11:24:18 -0500
commit951744341ad5134076fd6a7f5966abb519af17b1 (patch)
tree9e473bddc2afed1bfeb40b9586f637b8fb9504a3 /robher-aosp.yaml
parentb4010431dd41f1807806fc257b4630d14250a870 (diff)
robher-aosp: fix mesa gpu driver selection
The Android.mk handling of gpu drivers changed in upstream, so rework how we override BOARD_GPU_DRIVERS. Change-Id: I3dd5bbc3578717ccb6e4d9511d4b6f50c5b1299b Signed-off-by: Rob Herring <rob.herring@linaro.org>
Diffstat (limited to 'robher-aosp.yaml')
1 files changed, 3 insertions, 1 deletions
diff --git a/robher-aosp.yaml b/robher-aosp.yaml
index 43808ff23..769ab77be 100644
--- a/robher-aosp.yaml
+++ b/robher-aosp.yaml
@@ -66,7 +66,9 @@
git pull --no-edit https://github.com/robherring/mesa.git android-build-test
# Enable gpu drivers
- sed -i -e 's/\(^MESA_GPU_DRIVERS.*\)/MESA_GPU_DRIVERS := $(strip $(BOARD_GPU_DRIVERS)) i915 i965 r300g nouveau swrast vc4/' Android.mk
+ echo 'BOARD_GPU_DRIVERS := "i915 i965 i915g r300g r600g nouveau swrast vc4 virgl"' > Android.mk.new
+ cat Android.mk >> Android.mk.new
+ mv Android.mk.new Android.mk
# Commit it so repo will throw it away
git commit -m "Android: enable GPU drivers" -a -s