On 8/1/12 9:12 AM, Morgan Little wrote:

Signed-off-by: Morgan Little <morgan.lit...@windriver.com>
---
  meta/recipes-devtools/patch/patch.inc |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/patch/patch.inc 
b/meta/recipes-devtools/patch/patch.inc
index 21c06c6..80e00f6 100644
--- a/meta/recipes-devtools/patch/patch.inc
+++ b/meta/recipes-devtools/patch/patch.inc
@@ -13,6 +13,6 @@
  do_install_append () {
          mv ${D}${bindir}/patch ${D}${bindir}/patch.${BPN}
  }

-ALTERNATIVE_NAME = "patch"
-ALTERNATIVE_PATH = "patch.${BPN}"
+ALTERNATIVE_${PN} = "patch"
+ALTERNATIVE_TARGET[patch] = "$[bindir}/patch.${BPN}"
  ALTERNATIVE_PRIORITY = "100"


See the previous.. the do_install_append should be removed, and once that is done the alternative_target[patch] is no needed.

--Mark

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to