Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 3 | |
Willy Tu | 66ab90e | 2023-07-25 22:51:05 -0700 | [diff] [blame] | 4 | inherit cmake pkgconfig |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 5 | inherit systemd |
| 6 | |
Willy Tu | 66ab90e | 2023-07-25 22:51:05 -0700 | [diff] [blame] | 7 | RDEPENDS:${PN} += " bash" |
| 8 | |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 9 | S = "${WORKDIR}/git" |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 10 | SRC_URI = "git://github.com/quanta-bmc/mac-address.git;protocol=https;branch=master" |
Willy Tu | 66ab90e | 2023-07-25 22:51:05 -0700 | [diff] [blame] | 11 | SRCREV = "93756c78539160a7c15e02c7c3ecf2d6941d56af" |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 12 | DEPENDS += "systemd" |
| 13 | |
Willy Tu | f3acf6d | 2021-08-10 18:14:20 -0700 | [diff] [blame] | 14 | FILES:${PN} += "${bindir}/mac-address" |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 15 | |
| 16 | SYSTEMD_PACKAGES = "${PN}" |
Willy Tu | f3acf6d | 2021-08-10 18:14:20 -0700 | [diff] [blame] | 17 | SYSTEMD_SERVICE:${PN} = "mac-address.service" |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 18 | |
Willy Tu | 66ab90e | 2023-07-25 22:51:05 -0700 | [diff] [blame] | 19 | EXTRA_OECMAKE:append = " \ |
| 20 | -DENABLE_TEST=OFF \ |
Spencer Ku | 04d737c | 2020-04-20 15:24:35 +0800 | [diff] [blame] | 21 | " |