diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 16:18:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:39 +0100 |
commit | f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc (patch) | |
tree | ce49a10de087acff254f16daae0532997ea4f4a6 /meta/recipes-extended/diffutils/diffutils.inc | |
parent | 98a5fe8f5382742806235933910de826edc3d09a (diff) | |
download | openembedded-core-f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc.tar.gz openembedded-core-f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc.tar.bz2 openembedded-core-f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc.zip |
diffutils: refactor to add a common diffutils.inc
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils.inc')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils.inc b/meta/recipes-extended/diffutils/diffutils.inc new file mode 100644 index 0000000000..3964db0636 --- /dev/null +++ b/meta/recipes-extended/diffutils/diffutils.inc @@ -0,0 +1,22 @@ +SUMMARY = "Diffutils contains tools used for finding differences between files." +DESCRIPTION = "Diffutils contains the GNU diff, diff3, \ +sdiff, and cmp utilities. These programs are usually \ +used for creating patch files." +SECTION = "base" + +INC_PR = "r6" + +SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz" + +inherit autotools update-alternatives gettext + +# diffutils assumes non-glibc compilation with uclibc and +# this causes it to generate its own implementations of +# standard functionality. regex.c actually breaks compilation +# because it uses __mempcpy, there are other things (TBD: +# see diffutils.mk in buildroot) +EXTRA_OECONF_libc-uclibc = "--without-included-regex" + +ALTERNATIVE_LINKS = "${bindir}/diff ${bindir}/cmp" +ALTERNATIVE_PRIORITY = "100" + |