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" |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSES/MB/STM.TXT;md5=1b74d8c842307d03c116f2d71cbf868a" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 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 | |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 16 | SRCREV = "6d5253584a9c2fdc2edbdc39bf6f2436215d1382" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 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 | |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 28 | FILES:${PN}-staticdev += " ${INSTALL_DIR}/LIB/sensor.a" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 29 | FILES:${PN} = "${INSTALL_DIR}" |
| 30 | SYSROOT_DIRS += "${INSTALL_DIR}" |
| 31 | |
| 32 | do_deploy() { |
| 33 | install -d ${DEPLOYDIR}${INSTALL_DIR} |
| 34 | cp -Rp --no-preserve=ownership ${S}/* ${DEPLOYDIR}${INSTALL_DIR} |
| 35 | } |
| 36 | addtask deploy after do_install before do_build |