aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch/patch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/patch/patch.inc')
-rw-r--r--meta/recipes-devtools/patch/patch.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index 21c06c64b5..332b97a85e 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -9,10 +9,5 @@ S = "${WORKDIR}/patch-${PV}"
inherit autotools update-alternatives
-do_install_append () {
- mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
-}
-
-ALTERNATIVE_NAME = "patch"
-ALTERNATIVE_PATH = "patch.${BPN}"
+ALTERNATIVE_${PN} = "patch"
ALTERNATIVE_PRIORITY = "100"