summaryrefslogtreecommitdiff
path: root/recipes-mozilla/firefox/firefox_%.bbappend
blob: 0857ad61854bdd568fd13fb7e2ef8e3cf02debbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "file://distribution.ini"

do_compile_append() {
    # disable annoying default browser check
    echo "lockPref(\"browser.shell.checkDefaultBrowser\", false);" >> ${WORKDIR}/vendor.js
}

do_compile_append_mx6() {
    # disable broken OMTC on iMX6 based modules
    echo "pref(\"layers.offmainthreadcomposition.enabled\", false);" >> ${WORKDIR}/vendor.js
}

do_install_append() {
    install -d ${D}${libdir}/${PN}/distribution
    install -m 0644 ${WORKDIR}/distribution.ini ${D}${libdir}/${PN}/distribution/
}

FILES_${PN} += ""