blob: 33308db6a46d2c11e9965281d8252d6ba954c4dc [file] [log] [blame]
Spencer Ku04d737c2020-04-20 15:24:35 +08001LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
3
4inherit autotools pkgconfig
5inherit systemd
6
7S = "${WORKDIR}/git"
Patrick Williamsbb99d222022-01-24 15:55:09 -06008SRC_URI = "git://github.com/quanta-bmc/mac-address.git;protocol=https;branch=master"
Spencer Ku04d737c2020-04-20 15:24:35 +08009SRCREV = "08b87370c56ff69df852eca87391ae46c05d437a"
10
11DEPENDS += "autoconf-archive-native"
12DEPENDS += "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
19EXTRA_OECONF = " \
20 SYSTEMD_TARGET="multi-user.target" \
21"