diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb index bd55efce27..7eea5d135b 100644 --- a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | |||
| @@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb486884 | |||
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}" | 15 | S = "${WORKDIR}/${BPN}" |
| 16 | 16 | ||
| 17 | inherit update-alternatives | ||
| 18 | |||
| 17 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 19 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
| 18 | 20 | ||
| 19 | # comment out MakeInclude in Makefile which sets build environment | 21 | # comment out MakeInclude in Makefile which sets build environment |
| @@ -30,3 +32,7 @@ do_install () { | |||
| 30 | install -d ${D}/${base_sbindir} | 32 | install -d ${D}/${base_sbindir} |
| 31 | install -m 0755 ${S}/vconfig ${D}/${base_sbindir}/ | 33 | install -m 0755 ${S}/vconfig ${D}/${base_sbindir}/ |
| 32 | } | 34 | } |
| 35 | |||
| 36 | ALTERNATIVE_PRIORITY = "100" | ||
| 37 | ALTERNATIVE_${PN} = "vconfig" | ||
| 38 | ALTERNATIVE_LINK_NAME[vconfig] = "${base_sbindir}/vconfig" | ||
