Skip to content

Commit

Permalink
webos-backports-5.0: lemon=v3.44.2
Browse files Browse the repository at this point in the history
:Release Notes:
Upgrade lemon to v3.44.2 to fix libpbnjson build failed on aarch64

:Detailed Notes:
libpbnjson fails to build on aarch64 machines
see: #27

The lemon in meta-oe very old, need upgrade to v3.44.2 as:
https://lore.kernel.org/openembedded-devel/20231220155334.1055853-1-ross.burton@arm.com/

:Testing Performed:
Only build tested

:QA Notes:

:Issues Addressed:
[WRQ-6565] CCC: webos-backports-5.0: lemon=v3.44.2
[WRQ-6118] check webosose github issue "pbnjson fails to build #27

Change-Id: I083bcd5935536a76e750b64979044090744a2313
  • Loading branch information
hieunv0828 authored and abdulkhader.jeelanks committed Jan 8, 2024
1 parent 4f78766 commit 909acf5
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Backport from
# https://lore.kernel.org/openembedded-devel/20231220155334.1055853-1-ross.burton@arm.com/

# Copyright (c) 2024 LG Electronics, Inc.
DESCRIPTION = "The Lemon Parser Generator"
HOMEPAGE = "https://sqlite.org/src/file/doc/lemon.html"
LICENSE = "PD"
SECTION = "devel"

LIC_FILES_CHKSUM = "file://tool/lemon.c;endline=8;md5=c7551a78fa3fdecd96d1ad6761d205ee"

SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"

SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"

S = "${WORKDIR}/git"

do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
}

do_install() {
install -d ${D}${bindir}
install -m 0755 lemon ${D}${bindir}
install -m 0644 tool/lempar.c ${D}${bindir}
}

BBCLASSEXTEND = "native nativesdk"

0 comments on commit 909acf5

Please sign in to comment.