blob: 0a43cdff10f8f1a9331532112bc6b44d5981a3fe [file] [log] [blame]
Spencer Ku04d737c2020-04-20 15:24:35 +08001LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
3
Willy Tu66ab90e2023-07-25 22:51:05 -07004inherit cmake pkgconfig
Spencer Ku04d737c2020-04-20 15:24:35 +08005inherit systemd
6
Willy Tu66ab90e2023-07-25 22:51:05 -07007RDEPENDS:${PN} += " bash"
8
Spencer Ku04d737c2020-04-20 15:24:35 +08009S = "${WORKDIR}/git"
Patrick Williamsbb99d222022-01-24 15:55:09 -060010SRC_URI = "git://github.com/quanta-bmc/mac-address.git;protocol=https;branch=master"
Willy Tu66ab90e2023-07-25 22:51:05 -070011SRCREV = "93756c78539160a7c15e02c7c3ecf2d6941d56af"
Spencer Ku04d737c2020-04-20 15:24:35 +080012DEPENDS += "systemd"
13
Willy Tuf3acf6d2021-08-10 18:14:20 -070014FILES:${PN} += "${bindir}/mac-address"
Spencer Ku04d737c2020-04-20 15:24:35 +080015
16SYSTEMD_PACKAGES = "${PN}"
Willy Tuf3acf6d2021-08-10 18:14:20 -070017SYSTEMD_SERVICE:${PN} = "mac-address.service"
Spencer Ku04d737c2020-04-20 15:24:35 +080018
Willy Tu66ab90e2023-07-25 22:51:05 -070019EXTRA_OECMAKE:append = " \
20 -DENABLE_TEST=OFF \
Spencer Ku04d737c2020-04-20 15:24:35 +080021"