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 | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 16 | SRCREV = "70ba494265eee76747faff38264860c19e214540" |
Andrew Geissler | 2edf064 | 2023-09-11 08:24:07 -0400 | [diff] [blame] | 17 | PV .= "+git" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | INSTALL_DIR = "/n1sdp-board-firmware_source" |
| 22 | |
| 23 | do_install() { |
| 24 | rm -rf ${S}/SOFTWARE |
| 25 | install -d ${D}${INSTALL_DIR} |
| 26 | cp -Rp --no-preserve=ownership ${S}/* ${D}${INSTALL_DIR} |
| 27 | } |
| 28 | |
Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame] | 29 | FILES:${PN}-staticdev += " ${INSTALL_DIR}/LIB/sensor.a" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 30 | FILES:${PN} = "${INSTALL_DIR}" |
| 31 | SYSROOT_DIRS += "${INSTALL_DIR}" |
| 32 | |
| 33 | do_deploy() { |
| 34 | install -d ${DEPLOYDIR}${INSTALL_DIR} |
| 35 | cp -Rp --no-preserve=ownership ${S}/* ${DEPLOYDIR}${INSTALL_DIR} |
| 36 | } |
| 37 | addtask deploy after do_install before do_build |