summaryrefslogtreecommitdiff
path: root/classes/linux-compile-overlays.bbclass
blob: c069feafafa27525f2eac1f2a77d853ae44ed6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# compile each overlay and install them in /lib/firmware
do_compile_append() {
    for OVERLAY in `ls ../overlays/*.dts`; do
        ./scripts/dtc/dtc -O dtb -o ${OVERLAY/dts/dtbo} -b 0 -@ $OVERLAY
    done
}

do_install_append() {
    echo "FILES: $FILES_linux"
    install -d ${D}/${base_libdir}/firmware

    for OVERLAY in `ls ../overlays/*.dtbo`; do
        install -m 644 $OVERLAY ${D}/${base_libdir}/firmware/
    done
}