From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6584097242600177664 X-Received: by 2002:a2e:8896:: with SMTP id k22-v6mr1044697lji.23.1532979601145; Mon, 30 Jul 2018 12:40:01 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:520f:: with SMTP id m15-v6ls495516lfb.12.gmail; Mon, 30 Jul 2018 12:40:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcFD9FLuAy5Xk2hzBcaDjBYt7D+1YjsSuAIBGPgxLqNR+a/+N8mNS726gF68UAGyZjiRKw8 X-Received: by 2002:a19:ee14:: with SMTP id g20-v6mr880832lfb.35.1532979600696; Mon, 30 Jul 2018 12:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532979600; cv=none; d=google.com; s=arc-20160816; b=bgIvLnrxvBe40VAFoKoqjbxK6UytoBiUrcpZGBu6th0Lvxa4rpLEeTb5JIz5v/MizW /DyAWvMpnp7MFrFjeMjFOP/eejBC57p7jepHxIdoaH0qZ0kiEMfKXm/ZW3Vx+c6UiTAy Q5V8ELiObnm0UMSAHJESj5hysbeFRxdPbBd6yXqU0gAvZ9PDViDrshwiA+aUVo6a96aN 5An2l/Yc3Ot2DUle3VWBJKAWO9VsNdq3gPAne2F1O9/v5YKLiDyIjQkPH4vJRcpfAWF7 QTRSSMhbX9Y2uB+y5VQa+Hiloa5q01YXA1ng1GQPrWbcjMty6nHrRQG7lZOnmPTm9dlT Js2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7uRJqEPJk8h9n5HOJSaXIdsiEkh7OYTF45dgteMQFl0=; b=euXRV36O+ORsLBoowaTKhTkE6qAvtKOkKC3+TC7ac3N2CGJEdq4Licm778S9AY1yxA gUMCeI5N4sRcpJQgMOpW5wm8TgIaX6X/6dv12Jp3SjQgsscjqGRi1MFCJixbR4pGmAsa jI5YIEQ3tAcgNCPZlEjS6t8mOKJ5U1BYl4pKL5QxhcskMg8hNXakSoDPoI2uH362zbda PtMhiPetrlxSSri8K0yHCrBC/4GGnxwD0lqwhAW5krkOKO8onk9bRjb6z/F87Vzh8wU0 LNMHhedo0rZ93kU7SVMdMVHDmnXhyp+rRX4tJx4IRHP46/Kk7QH5jWwQoddtXfjsDn6m epCw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id q4-v6si413529ljj.5.2018.07.30.12.40.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 12:40:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w6UJdiYE013563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 30 Jul 2018 21:39:50 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH v5 03/12] buildchroot: Add host buildchroot Date: Mon, 30 Jul 2018 19:39:28 +0000 Message-Id: <20180730193937.32694-4-asmirnov@ilbers.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180730193937.32694-1-asmirnov@ilbers.de> References: <20180730193937.32694-1-asmirnov@ilbers.de> X-TUID: YlXJBJ9P5kQH Add buildchroot for host architecture. Signed-off-by: Alexander Smirnov --- meta/conf/isar-bitbake.conf | 1 + .../buildchroot/buildchroot-host.bb | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-devtools/buildchroot/buildchroot-host.bb diff --git a/meta/conf/isar-bitbake.conf b/meta/conf/isar-bitbake.conf index aaba96e..666c4a3 100644 --- a/meta/conf/isar-bitbake.conf +++ b/meta/conf/isar-bitbake.conf @@ -21,6 +21,7 @@ WORKDIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/${PF}" DL_DIR = "${TOPDIR}/downloads" SSTATE_DIR ?= "${TMPDIR}/sstate-cache" +BUILDCHROOT_HOST_DIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot-host/rootfs" BUILDCHROOT_TARGET_DIR = "${TMPDIR}/work/${DISTRO}-${DISTRO_ARCH}/buildchroot-target/rootfs" CACHE = "${TMPDIR}/cache" diff --git a/meta/recipes-devtools/buildchroot/buildchroot-host.bb b/meta/recipes-devtools/buildchroot/buildchroot-host.bb new file mode 100644 index 0000000..048998d --- /dev/null +++ b/meta/recipes-devtools/buildchroot/buildchroot-host.bb @@ -0,0 +1,31 @@ +# Root filesystem for packages building +# +# This software is a part of ISAR. +# Copyright (C) 2015-2018 ilbers GmbH + +DESCRIPTION = "Isar development filesystem for host" + +include buildchroot.inc + +BUILDCHROOT_PREINSTALL ?= "make \ + debhelper \ + autotools-dev \ + dpkg \ + locales \ + docbook-to-man \ + apt \ + automake \ + devscripts \ + equivs \ + libc6:${DISTRO_ARCH}" + +# Please note: this works for Stretch distro only. According to the wiki page: +# https://wiki.debian.org/CrossToolchains +# Jessie doesn't contain toolchain. It should be fetched from the external +# repository: +# http://emdebian.org/tools/debian/ +BUILDCHROOT_PREINSTALL_append_armhf += "binutils-arm-linux-gnueabihf \ + crossbuild-essential-armhf" + +PARAMS = "--host-arch" +do_build[depends] = "isar-apt:do_cache_config isar-bootstrap-host:do_bootstrap" -- 2.11.0