>From 294039a7051a7649ad347d114e75d16f921dcf67 Mon Sep 17 00:00:00 2001 From: Baurzhan Ismagulov Date: Wed, 17 Apr 2019 11:44:06 +0200 Subject: [PATCH] Add abicheck --- meta-isar/conf/local.conf.sample | 5 ++++- meta-isar/recipes-app/abicheck/abicheck_1.2.bb | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 meta-isar/recipes-app/abicheck/abicheck_1.2.bb diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample index 86e2384..5b1d638 100644 --- a/meta-isar/conf/local.conf.sample +++ b/meta-isar/conf/local.conf.sample @@ -159,7 +159,10 @@ CONF_VERSION = "1" # # The default list of extra packages to be installed. -IMAGE_INSTALL = "hello-isar example-raw example-module-${KERNEL_NAME} enable-fsck" +IMAGE_INSTALL = "hello-isar example-raw example-module-${KERNEL_NAME} \ + enable-fsck \ + abicheck \ +" # # Enable cross-compilation support diff --git a/meta-isar/recipes-app/abicheck/abicheck_1.2.bb b/meta-isar/recipes-app/abicheck/abicheck_1.2.bb new file mode 100644 index 0000000..af08a0c --- /dev/null +++ b/meta-isar/recipes-app/abicheck/abicheck_1.2.bb @@ -0,0 +1,22 @@ +# This software is a part of ISAR. +# Copyright (C) 2019 ilbers GmbH +# +# SPDX-License-Identifier: MIT + +inherit dpkg + +# this will fetch and unpack the sources from upstream debian +SRC_URI = "apt://${PN}=1.2-5" + +MAINTAINER = "isar-users " +CHANGELOG_V = "1.2-99+isar" + +do_prepare_build() { + deb_add_changelog +} + +dpkg_runbuild_prepend() { + if [ ${ISAR_CROSS_COMPILE} -eq 1 ]; then + export DEB_BUILD_OPTIONS="nocheck" + fi +} -- 2.11.0