From 5efcb59476f8b8ced8452126d0016ee32bbe1c82 Mon Sep 17 00:00:00 2001
From: Paul Barker <paul@betafive.co.uk>
Date: Mon, 18 Feb 2019 10:59:09 +0000
Subject: [PATCH] meta-agl-bsp: meta-ti: weston-ini-conf: Apply only to
 dra7xx-evm

The git history shows that the weston-ini-conf changes in
meta-agl-bsp/meta-ti were added to support the dra7xx-evm.

These changes should not be applied for other machines which use the
meta-ti layer such as the beaglebone and bbe.

Change-Id: Id777d751be033e6671ebf387977ec7f5be0e5514
Signed-off-by: Paul Barker <paul@betafive.co.uk>
(cherry picked from commit 78fe3e0999b3f9a124c1dd8e0157002d0af55cee)
---
 .../meta-ti/recipes-graphics/wayland/weston-ini-conf.bbappend         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-agl-bsp/meta-ti/recipes-graphics/wayland/weston-ini-conf.bbappend b/meta-agl-bsp/meta-ti/recipes-graphics/wayland/weston-ini-conf.bbappend
index 914a87309..684031eae 100644
--- a/meta-agl-bsp/meta-ti/recipes-graphics/wayland/weston-ini-conf.bbappend
+++ b/meta-agl-bsp/meta-ti/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -2,6 +2,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 # While we could have a panel attached to HDMI, we only use the default
 # panel isntead.
-SRC_URI_remove = "file://hdmi-a-1-270.cfg"
+SRC_URI_remove_dra7xx-evm = "file://hdmi-a-1-270.cfg"
 # Our DPI panel shows up as "UNNAMED-1"
-SRC_URI += "file://unnamed.cfg"
+SRC_URI_append_dra7xx-evm = " file://unnamed.cfg"
-- 
2.16.6