From 2342ab2ddadf55619d9cc9b1aa2c521b2708da21 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 21 Feb 2019 18:48:46 -0600 Subject: Move the overlay directory to where the dtoverlay command expects. --- recipes-bsp/multitech/mt-dt-overlay.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'recipes-bsp') diff --git a/recipes-bsp/multitech/mt-dt-overlay.bb b/recipes-bsp/multitech/mt-dt-overlay.bb index e4a3866..8b4fd0e 100644 --- a/recipes-bsp/multitech/mt-dt-overlay.bb +++ b/recipes-bsp/multitech/mt-dt-overlay.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" # "or" more machines in the future COMPATIBLE_MACHINE = '(mtcdt)' +dt_dir = "/boot/overlays" SRC_URI = "git://git@gitlab.multitech.net/focus/mt-dt-overlay.git;protocol=ssh" @@ -24,15 +25,15 @@ do_compile () { oe_runmake DTC=/usr/bin/dtc KERNEL_DIR=${STAGING_KERNEL_DIR} KERNEL_BUILD_DIR=${KERNEL_PATH} ${MACHINE}_dtbos } -FILES_${PN} = "${base_libdir}" +FILES_${PN} = "${dt_dir}" addtask install after do_compile do_install () { # Copy files to /lib/dt-overlay/main (mtac cards will be in mtac) if [ -e ${AT91BOOTSTRAP_MACHINE} ]; then - install -d ${D}/${base_libdir}/dt-overlay/main - install ${MACHINE}/*.dtbo ${D}/${base_libdir}/dt-overlay/main + install -d ${D}/${dt_dir} + install ${MACHINE}/*.dtbo ${D}/${dt_dir} fi; } -- cgit v1.2.3