weston-init: fix build by removing duplicate entry for ccimx6 platforms
In the free meta-scale layer, the same entry "use-g2d = 1" is uncommented for mx6dl and mx6q, however our ccimx6 platform has both machines in its definition, so the same entry is uncommented twice and throws an unexpected error. This commit adds a append in the install process to uncomment this entry for the ccimx6 platform. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
0cacb0c511
commit
b2754811cc
|
|
@ -7,11 +7,13 @@ SRC_URI += " \
|
||||||
file://profile \
|
file://profile \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Digi: use g2d on ccimx6sbc to fix desktop window issue
|
# Remove duplicate entries for the ccimx6 platform
|
||||||
# Also needed to workaround an HDMI hotplug issue on the ccimx6qpsbc
|
# and uncomment with an individual append
|
||||||
INI_UNCOMMENT_ASSIGNMENTS_append_ccimx6 = " \
|
INI_UNCOMMENT_ASSIGNMENTS_remove_ccimx6 = "use-g2d=1"
|
||||||
use-g2d=1 \
|
|
||||||
"
|
do_install_append_ccimx6() {
|
||||||
|
uncomment "use-g2d=1" ${D}${sysconfdir}/xdg/weston/weston.ini
|
||||||
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -Dm0755 ${WORKDIR}/profile ${D}${sysconfdir}/profile.d/weston.sh
|
install -Dm0755 ${WORKDIR}/profile ${D}${sysconfdir}/profile.d/weston.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue