blob: 1b502e529734ec3b02c2593a6d1c960c227b296f [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001SUMMARY = "Board Firmware binaries for N1SDP"
2SECTION = "firmware"
3
4LICENSE = "STM-SLA0044-Rev5"
Patrick Williams8dd68482022-10-04 07:57:18 -05005LIC_FILES_CHKSUM = "file://LICENSES/MB/STM.TXT;md5=1b74d8c842307d03c116f2d71cbf868a"
Brad Bishopbec4ebc2022-08-03 09:55:16 -04006
7inherit deploy
8
9INHIBIT_DEFAULT_DEPS = "1"
10
11PACKAGE_ARCH = "${MACHINE_ARCH}"
12COMPATIBLE_MACHINE = "n1sdp"
13
14SRC_URI = "git://git.gitlab.arm.com/arm-reference-solutions/board-firmware.git;protocol=https;branch=n1sdp"
15
Patrick Williams8e7b46e2023-05-01 14:19:06 -050016SRCREV = "70ba494265eee76747faff38264860c19e214540"
Andrew Geissler2edf0642023-09-11 08:24:07 -040017PV .= "+git"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040018
19S = "${WORKDIR}/git"
20
21INSTALL_DIR = "/n1sdp-board-firmware_source"
22
23do_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 Williams8dd68482022-10-04 07:57:18 -050029FILES:${PN}-staticdev += " ${INSTALL_DIR}/LIB/sensor.a"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040030FILES:${PN} = "${INSTALL_DIR}"
31SYSROOT_DIRS += "${INSTALL_DIR}"
32
33do_deploy() {
34 install -d ${DEPLOYDIR}${INSTALL_DIR}
35 cp -Rp --no-preserve=ownership ${S}/* ${DEPLOYDIR}${INSTALL_DIR}
36}
37addtask deploy after do_install before do_build