summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSinan Kaya <okaya@kernel.org>2020-12-16 22:48:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-12 17:44:16 +0000
commit6a4d10d367753bf981dc897319adfbea94734813 (patch)
treefaeefe9b3c8ae95e22491555701a2688ae512841
parent507a47a4e5077d5f8f76d9629be6b871dfd8eb90 (diff)
downloadpoky-6a4d10d367753bf981dc897319adfbea94734813.tar.gz
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>
-rw-r--r--meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb16
1 files changed, 15 insertions, 1 deletions
diff --git a/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb b/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
index dcc2218e48..e163a6948a 100644
--- a/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
+++ b/meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb
@@ -105,4 +105,18 @@ python __anonymous() {
105} 105}
106ALTERNATIVE_PRIORITY = "100" 106ALTERNATIVE_PRIORITY = "100"
107 107
108BBCLASSEXTEND = "native nativesdk" 108NETTOOLS_PACKAGES = "${PN}-mii-tool"
109NETTOOLS_PACKAGES_class-native = ""
110
111PACKAGE_BEFORE_PN = "${NETTOOLS_PACKAGES}"
112RDEPENDS_${PN} += "${NETTOOLS_PACKAGES}"
113
114FILES_${PN}-mii-tool = "${base_sbindir}/mii-tool"
115
116ALTERNATIVE_${PN}_remove = "mii-tool"
117
118ALTERNATIVE_${PN}-mii-tool = "mii-tool"
119ALTERNATIVE_TARGET[mii-tool] = "${base_sbindir}/mii-tool"
120ALTERNATIVE_LINK_NAME[mii-tool] = "${base_sbindir}/mii-tool"
121
122BBCLASSEXTEND = "native nativesdk" \ No newline at end of file