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 | |
| 4 | inherit autotools pkgconfig |
| 5 | inherit systemd |
| 6 | |
| 7 | S = "${WORKDIR}/git" |
| 8 | SRC_URI = "git://github.com/quanta-bmc/mac-address.git;protocol=git" |
| 9 | SRCREV = "08b87370c56ff69df852eca87391ae46c05d437a" |
| 10 | |
| 11 | DEPENDS += "autoconf-archive-native" |
| 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 | |
| 19 | EXTRA_OECONF = " \ |
| 20 | SYSTEMD_TARGET="multi-user.target" \ |
| 21 | " |