mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
net-tools: split mii-tool into its own package
Move the mii-tool into its own package. Useful for size constrained systems that only want the mii-tool only. (From OE-Core rev: 05b9cdd66ad29d67bd7c3c7e968b1c102479af47) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
507a47a4e5
commit
6a4d10d367
@@ -105,4 +105,18 @@ python __anonymous() {
|
||||
}
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
NETTOOLS_PACKAGES = "${PN}-mii-tool"
|
||||
NETTOOLS_PACKAGES_class-native = ""
|
||||
|
||||
PACKAGE_BEFORE_PN = "${NETTOOLS_PACKAGES}"
|
||||
RDEPENDS_${PN} += "${NETTOOLS_PACKAGES}"
|
||||
|
||||
FILES_${PN}-mii-tool = "${base_sbindir}/mii-tool"
|
||||
|
||||
ALTERNATIVE_${PN}_remove = "mii-tool"
|
||||
|
||||
ALTERNATIVE_${PN}-mii-tool = "mii-tool"
|
||||
ALTERNATIVE_TARGET[mii-tool] = "${base_sbindir}/mii-tool"
|
||||
ALTERNATIVE_LINK_NAME[mii-tool] = "${base_sbindir}/mii-tool"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user