Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | SUMMARY = "Board Firmware binaries for N1SDP" |
| 2 | SECTION = "firmware" |
| 3 | |
| 4 | LICENSE = "STM-SLA0044-Rev5" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSES/STM.TXT;md5=cd18335eff80d0a690a650f0e6748baf" |
| 6 | |
| 7 | inherit deploy |
| 8 | |
| 9 | INHIBIT_DEFAULT_DEPS = "1" |
| 10 | |
| 11 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 12 | COMPATIBLE_MACHINE = "n1sdp" |
| 13 | |
| 14 | SRC_URI = "git://git.gitlab.arm.com/arm-reference-solutions/board-firmware.git;protocol=https;branch=n1sdp" |
| 15 | |
| 16 | SRCREV = "e6cd91c7a9733e501bc3b57ff6f9eb2461ffee54" |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | INSTALL_DIR = "/n1sdp-board-firmware_source" |
| 21 | |
| 22 | do_install() { |
| 23 | rm -rf ${S}/SOFTWARE |
| 24 | install -d ${D}${INSTALL_DIR} |
| 25 | cp -Rp --no-preserve=ownership ${S}/* ${D}${INSTALL_DIR} |
| 26 | } |
| 27 | |
| 28 | FILES:${PN} = "${INSTALL_DIR}" |
| 29 | SYSROOT_DIRS += "${INSTALL_DIR}" |
| 30 | |
| 31 | do_deploy() { |
| 32 | install -d ${DEPLOYDIR}${INSTALL_DIR} |
| 33 | cp -Rp --no-preserve=ownership ${S}/* ${DEPLOYDIR}${INSTALL_DIR} |
| 34 | } |
| 35 | addtask deploy after do_install before do_build |