diff options
| -rw-r--r-- | meta/recipes-extended/net-tools/net-tools_1.60-20181103.bb | 16 |
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 | } |
| 106 | ALTERNATIVE_PRIORITY = "100" | 106 | ALTERNATIVE_PRIORITY = "100" |
| 107 | 107 | ||
| 108 | BBCLASSEXTEND = "native nativesdk" | 108 | NETTOOLS_PACKAGES = "${PN}-mii-tool" |
| 109 | NETTOOLS_PACKAGES_class-native = "" | ||
| 110 | |||
| 111 | PACKAGE_BEFORE_PN = "${NETTOOLS_PACKAGES}" | ||
| 112 | RDEPENDS_${PN} += "${NETTOOLS_PACKAGES}" | ||
| 113 | |||
| 114 | FILES_${PN}-mii-tool = "${base_sbindir}/mii-tool" | ||
| 115 | |||
| 116 | ALTERNATIVE_${PN}_remove = "mii-tool" | ||
| 117 | |||
| 118 | ALTERNATIVE_${PN}-mii-tool = "mii-tool" | ||
| 119 | ALTERNATIVE_TARGET[mii-tool] = "${base_sbindir}/mii-tool" | ||
| 120 | ALTERNATIVE_LINK_NAME[mii-tool] = "${base_sbindir}/mii-tool" | ||
| 121 | |||
| 122 | BBCLASSEXTEND = "native nativesdk" \ No newline at end of file | ||
