diff options
-rw-r--r-- | recipes-graphics/wayland/weston-init.bbappend | 14 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston_5.0.0.imx.bbappend | 1 |
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend new file mode 100644 index 0000000..c92a3c6 --- /dev/null +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -0,0 +1,14 @@ +INI_UNCOMMENT_ASSIGNMENTS_append_mx8 = " \ + use-g2d=1 \ +" + + +uncomment() { + # already uncommented, do nothing + if ! (grep "^$1" $2); then + if ! (grep "^#$1" $2); then + bbfatal "Commented setting '#$1' not found in file $2" + fi + sed -i -e 's,^#'"$1"','"$1"',g' $2 + fi +} diff --git a/recipes-graphics/wayland/weston_5.0.0.imx.bbappend b/recipes-graphics/wayland/weston_5.0.0.imx.bbappend index 9cb3de2..ba8d20f 100644 --- a/recipes-graphics/wayland/weston_5.0.0.imx.bbappend +++ b/recipes-graphics/wayland/weston_5.0.0.imx.bbappend @@ -1,3 +1,2 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/weston:" -SRC_URI += "file://weston.ini" SRCREV = "73a26456e43b6d4f72f0a995d437590065cafb15" |