summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-05-22 12:39:33 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 12:04:39 +0100
commitad0f8b8673bdc5681f21bfa4fc7cc805afe9ab86 (patch)
tree2b4956ed571fe4c000862732addea0cef89dc713 /meta/recipes-devtools/patch
parent4547096a4125c8192cb4f9a23623d7b12c5573e9 (diff)
downloadast2050-yocto-poky-ad0f8b8673bdc5681f21bfa4fc7cc805afe9ab86.zip
ast2050-yocto-poky-ad0f8b8673bdc5681f21bfa4fc7cc805afe9ab86.tar.gz
patch: use BPN for alternatives
(From OE-Core rev: aa092530d3fdbfe6671ab6a05ecea2d71c4e11e4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/patch')
-rw-r--r--meta/recipes-devtools/patch/patch.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/patch/patch.inc b/meta/recipes-devtools/patch/patch.inc
index 38c3e95..21c06c6 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -10,9 +10,9 @@ S = "${WORKDIR}/patch-${PV}"
inherit autotools update-alternatives
do_install_append () {
- mv ${D}${bindir}/patch ${D}${bindir}/patch.${PN}
+ mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
}
ALTERNATIVE_NAME = "patch"
-ALTERNATIVE_PATH = "patch.${PN}"
+ALTERNATIVE_PATH = "patch.${BPN}"
ALTERNATIVE_PRIORITY = "100"
OpenPOWER on IntegriCloud