diff options
author | Florian Boor <florian@kernelconcepts.de> | 2011-02-15 16:49:57 +0100 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2012-09-27 16:48:15 +0200 |
commit | 4862047e5a82c71c163f51eceb31044486857786 (patch) | |
tree | 3aa9c9f5ba4d36bf3e4478eff27f98aed477187e | |
parent | e6f37a0032e1b5fea5874a5852a9e1353ca26399 (diff) | |
download | openembedded-4862047e5a82c71c163f51eceb31044486857786.tar.gz |
libmpc: Allow to build SDK package
Allow to build the package for SDK, disable documentation
Signed-off-by: Florian Boor <florian.boor@kernelconcepts.de>
-rw-r--r-- | recipes/libmpc/files/disable-doc.patch | 18 | ||||
-rw-r--r-- | recipes/libmpc/libmpc_0.8.2.bb | 8 |
2 files changed, 24 insertions, 2 deletions
diff --git a/recipes/libmpc/files/disable-doc.patch b/recipes/libmpc/files/disable-doc.patch new file mode 100644 index 0000000000..93991f9d8f --- /dev/null +++ b/recipes/libmpc/files/disable-doc.patch @@ -0,0 +1,18 @@ +--- a/Makefile.am~ 2011-02-15 18:01:03.017997415 +0100 ++++ b/Makefile.am 2011-02-15 18:02:15.507693520 +0100 +@@ -1,5 +1,5 @@ + ## Makefile.am -- Process this file with automake to produce Makefile.in +-SUBDIRS = src tests doc ++SUBDIRS = src tests + + include_HEADERS = src/mpc.h + EXTRA_DIST = Makefile.vc tests/tgeneric.c +--- a/configure.ac~ 2011-02-15 18:01:11.593996895 +0100 ++++ b/configure.ac 2011-02-15 18:01:58.887679907 +0100 +@@ -175,5 +175,5 @@ + [AC_DEFINE([NO_STREAM_REDIRECTION],1,[Do not check mpc_out_str on stdout])]) + CFLAGS=$old_cflags + +-AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile]) ++AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile]) + AC_OUTPUT diff --git a/recipes/libmpc/libmpc_0.8.2.bb b/recipes/libmpc/libmpc_0.8.2.bb index 18a161ada1..5591b411a9 100644 --- a/recipes/libmpc/libmpc_0.8.2.bb +++ b/recipes/libmpc/libmpc_0.8.2.bb @@ -3,11 +3,15 @@ require libmpc.inc DEPENDS = "gmp mpfr" S = "${WORKDIR}/mpc-${PV}" NATIVE_INSTALL_WORKS = "1" -BBCLASSEXTEND = "native" -PR = "r1" +BBCLASSEXTEND = "native sdk" +PR = "r3" SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz" +SRC_URI_append_virtclass-sdk = " file://disable-doc.patch" + EXTRA_OECONF_append_virtclass-native = " --enable-static" +EXTRA_OECONF_append_virtclass-sdk = " --enable-static" + SRC_URI[md5sum] = "e98267ebd5648a39f881d66797122fb6" SRC_URI[sha256sum] = "ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7" |