aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-30 22:21:13 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-31 08:30:19 -0700
commit97f52d0f6a09e243858637e98f41250eaf5554eb (patch)
tree754dd0ff5db87bb77354c8ec97c893617daafd0a /meta-oe/recipes-extended
parent09df8e6784f2ca5fc85573e3d0fd879d8c1e72bd (diff)
downloadmeta-openembedded-97f52d0f6a09e243858637e98f41250eaf5554eb.tar.gz
hexedit: Define update alternatives
hexedit can also be provided by toybox Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/hexedit/hexedit_1.4.2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/hexedit/hexedit_1.4.2.bb b/meta-oe/recipes-extended/hexedit/hexedit_1.4.2.bb
index 050b7da3d7..3e7fb2a076 100644
--- a/meta-oe/recipes-extended/hexedit/hexedit_1.4.2.bb
+++ b/meta-oe/recipes-extended/hexedit/hexedit_1.4.2.bb
@@ -13,4 +13,8 @@ SRCREV = "800e4b2e6280531a84fd23ee0b48e16baeb90878"
S = "${WORKDIR}/git"
-inherit autotools-brokensep
+inherit autotools-brokensep update-alternatives
+
+ALTERNATIVE_${PN} = "hexedit"
+ALTERNATIVE_LINK_NAME[hexedit] = "${bindir}/hexedit"
+