[oe] [meta-java][PATCH] javasqlite: add support

Maxin B. John maxin.john at intel.com
Wed Jun 1 09:32:57 UTC 2016


Hi,

On Wed, Jun 01, 2016 at 09:43:42AM +0800, Feng Mu wrote:
> Javasqlite is a Java wrapper including a basic JDBC driver
> for SQLite 2/3.
> 
> Signed-off-by: Feng Mu <Feng.Mu at windriver.com>
> ---
>  .../0001-fix-errors-during-cross-compile.patch     | 533 +++++++++++++++++++++
>  recipes-core/javasqlite/javasqlite_20150419.bb     |  41 ++
>  2 files changed, 574 insertions(+)
>  create mode 100644 recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
>  create mode 100644 recipes-core/javasqlite/javasqlite_20150419.bb
> 
> diff --git a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> new file mode 100644
> index 0000000..d9f85e4
> --- /dev/null
> +++ b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> @@ -0,0 +1,533 @@
> +From 7714a4c0e589f8b654e1270575512555ea4ad6c7 Mon Sep 17 00:00:00 2001
> +From: Feng Mu <Feng.Mu at windriver.com>
> +Date: Fri, 27 May 2016 16:44:33 +0800
> +Subject: [PATCH] fix errors during cross compile

Missing upstream-status

> +Signed-off-by: Feng Mu <Feng.Mu at windriver.com>
> +---
> + Makefile.in  |  56 +++++++--
> + configure.in | 382 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> + 2 files changed, 423 insertions(+), 14 deletions(-)
> +

<snip>

> +
> +SRC_URI[md5sum] = "242e384c1cd863d6996a35cf8c1c1e97"
> +SRC_URI[sha256sum] = "b6b26e2c1a2174f5525d904eb3ff698c3f7089f0d4b4c84cf6121da08c8d801f"
> +
> +EXTRA_OECONF = " \
> +    --with-sqlite3=${STAGING_DIR_NATIVE}/usr \
> +    --with-sqlite3-target=${STAGING_DIR_TARGET}/usr \
> +    --with-jdk=${STAGING_DIR_NATIVE}/usr/lib/jvm/icedtea7-native/ \
> +    "
> +
> +EXTRA_OEMAKE = "DESTDIR=${D}"
> +

It will be better if we have a comment explaining the reason for using INSANE_SKIP.

> +INSANE_SKIP_${PN}-dev = "dev-elf"
> +
> +do_configure_append (){
> +	cp ${S}/*-libtool ${S}/libtool
> +}

Best Regards,
Maxin



More information about the Openembedded-devel mailing list