From 5692de99c4e04d51a6c5da86fea1710d55420873 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 17 Nov 2017 06:23:32 +0100 Subject: Move genskel to af-binder-tools recipes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change fixes SPEC-941 and the HAL build by providing the needed afb-genskel for build by recipe and as part of the SDK. v2: move to af-binder folder and align naming to af-binder-devtools add nativesdk-af-binder-devtools to packagegroup nativesdk-packagegroup-sdk-host add af-binder-devtools-native to packagegroup packagegroup-agl-app-framework v3: move af-binder-devtools-native to aglwgt as DEPENDS as there is no -native package to add to the packagegroup-agl-app-framework Bug-AGL: SPEC-941 Change-Id: Iae3c8d958000623b1c84db896307032f5033477d Signed-off-by: Jan-Simon Möller Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12033 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account --- meta-app-framework/classes/aglwgt.bbclass | 3 +++ .../recipes-core/af-binder/af-binder-devtools_1.0.bb | 19 +++++++++++++++++++ .../nativesdk-packagegroup-sdk-host.bbappend | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 meta-app-framework/recipes-core/af-binder/af-binder-devtools_1.0.bb diff --git a/meta-app-framework/classes/aglwgt.bbclass b/meta-app-framework/classes/aglwgt.bbclass index ce566abca..aa27c2492 100644 --- a/meta-app-framework/classes/aglwgt.bbclass +++ b/meta-app-framework/classes/aglwgt.bbclass @@ -15,6 +15,9 @@ DEPENDS_append = " af-main-native" # for bindings af-binder is required. DEPENDS_append = " af-binder" +# for hal bindings genskel is required. +DEPENDS_append = " af-binder-devtools-native" + do_aglwgt_package() { cd ${B} ${S}/conf.d/autobuild/agl/autobuild package BUILD_DIR=${B} DEST=${B}/package VERBOSE=TRUE || \ diff --git a/meta-app-framework/recipes-core/af-binder/af-binder-devtools_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder-devtools_1.0.bb new file mode 100644 index 000000000..d22112f22 --- /dev/null +++ b/meta-app-framework/recipes-core/af-binder/af-binder-devtools_1.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "App Framework Host Utilities (generators, parsers)" +DESCRIPTION = "The AGL App Framework Host Utilities are used to compile applications" +HOMEPAGE = "https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-host-utilities" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS = "json-c" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/app-framework-host-utilities;protocol=https;branch=${AGL_BRANCH}" + +SRCREV = "${AGL_DEFAULT_REVISION}" +PV = "${AGL_BRANCH}+git${SRCPV}" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +BBCLASSEXTEND += "native nativesdk" diff --git a/meta-app-framework/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-app-framework/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend index ca0b54f73..fc73e8f3d 100644 --- a/meta-app-framework/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend +++ b/meta-app-framework/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend @@ -1,2 +1,2 @@ -RDEPENDS_${PN} =+ "nativesdk-af-main-tools" +RDEPENDS_${PN} =+ "nativesdk-af-main-tools nativesdk-af-binder-devtools" -- cgit 1.2.3-korg