From 5c53f99e443f06cd10a90488c42ffea630d3ebd3 Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Fri, 2 Sep 2022 15:25:44 +0300 Subject: MTX-4590 MTCDT3AC: Probe I2C GPIO to load device tree overlay on SD manufacturing image --- recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb') diff --git a/recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb b/recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb index 02e3d2d..356357d 100644 --- a/recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb +++ b/recipes-bsp/multitech/mt-dt-overlay_1.2.9.bb @@ -24,12 +24,13 @@ COMPATIBLE_MACHINE = "(mtcap|mtrv1|mtcdt|mtcpmhs)" dt_dir = "/lib/dtoverlays" -PR = "r1" +PR = "r2" SRC_URI = " \ - git://git.multitech.net/cgit/mt-dt-overlay.git;protocol=https \ - file://init-default \ - file://init-mtcpmhs \ + git://git.multitech.net/cgit/mt-dt-overlay.git;protocol=https \ + file://init-default \ + file://init-mtcpmhs \ + file://init-mtcpmhs-sdmfg \ " SRCREV = "${PV}" @@ -63,7 +64,11 @@ addtask install after do_compile do_install () { install -d ${D}/${sysconfdir}/init.d if [ ${MACHINE} = "mtcpmhs" ] ; then - install -m 0755 ${WORKDIR}/init-mtcpmhs ${D}/${sysconfdir}/init.d/${PN} + if [ "${SDMFG}" = "" ]; then + install -m 0755 ${WORKDIR}/init-mtcpmhs ${D}/${sysconfdir}/init.d/${PN} + else + install -m 0755 ${WORKDIR}/init-mtcpmhs-sdmfg ${D}/${sysconfdir}/init.d/${PN} + fi else install -m 0755 ${WORKDIR}/init-default ${D}/${sysconfdir}/init.d/${PN} fi -- cgit v1.2.3