From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6584097242600177664 X-Received: by 2002:aa7:d301:: with SMTP id p1-v6mr4218046edq.2.1533542253460; Mon, 06 Aug 2018 00:57:33 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:c312:: with SMTP id l18-v6ls1054833edq.7.gmail; Mon, 06 Aug 2018 00:57:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjeaDLi4fvIt4tPLt2rquWV8FLzKbu/NeD0K2XfTADANvRxT80yGfoXCQqq2sSfHJDl+rf X-Received: by 2002:aa7:c48c:: with SMTP id m12-v6mr2379407edq.11.1533542252985; Mon, 06 Aug 2018 00:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533542252; cv=none; d=google.com; s=arc-20160816; b=IPWzvybx6W4Z5+sTwItZjCUGWVrPhHScCklxEuPcaumifq51sMJtKcM0KRky9jeMFs LvXJTNKpyMd4oPPP5aqprXWkDh8ykF+IbqN7+S3g8RmrkZG2e0xSpwSaDQ+S2SDtsG5M 6O1ftOqB6U4GlZfKS1a4HmiBlfsJIN+vjk7wVTC8HVEPqGuF3KsIYHPcdijExVNZwR+B COtdevHc5QYOlQ6oGs6QhJ60OzKRiIYCstRLrZQhRFB2JbQs4icR5vb9E5M9Bt3mypfO Zjk7PNlWg93t4DlEPhihLRnu34A4i8L3QuGozLxnDPqPk/7fCscmQY5IIlI/jlzWRTzX jWbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject :arc-authentication-results; bh=3JrS7GTkCKgwRdy9O6C+DW7bh+o6QUQLnKndbBhQUGU=; b=I7EJqMpdkMzqfJQr4D7i7ZFY6At0wMD1HgnFvHO1FT4RUe5yaEflmLOUHSxYFQGkMu 4Ibd02ej4/5enBN0Li1VMcy60hNIanuI7IhAgFyyJVOZ+HcHngX4BhJqwyjEwGIhJQCn xXonI6V/J4XJIBIPhcZ6cUuaqe6G/73llcRk3keA3Ps7N7I2mazTvteXPHbbLw24tizd IOHYszJ1+hAw9zxfnGgPk4csxCUDAcz4JlT+N4nX8L/j/M2/sCNSOg+tLHCyLD2lmHnz RAxpXKU2GpcfzsF9ixLPo58pVJj3eBzLHHwMo/K/XvTR+4TaRlPU/+/7pzWhOwTaxwXr gMwQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id m22-v6si277680edq.1.2018.08.06.00.57.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 00:57:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@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 mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w767vLNg009884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 6 Aug 2018 09:57:23 +0200 Subject: Re: [PATCH v5 00/12] Cross-compilation To: Alexander Smirnov , isar-users@googlegroups.com References: <20180730193937.32694-1-asmirnov@ilbers.de> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <75c90bc1-50a6-2228-78c5-587f2cd007ba@ilbers.de> Date: Mon, 6 Aug 2018 10:57:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180730193937.32694-1-asmirnov@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: gGBQsQcCe7lX On 07/30/2018 10:39 PM, Alexander Smirnov wrote: > Hi all, > > this is v5 for cross-compilation. > > Updates since v4: > - Fix 'cut' call according to the Henning's hint > - Add documentation > - Add cross parameter to the ci_build script Applied to the 'next', Thank you very much, Maxim. > Alex > > Alexander Smirnov (12): > isar-bootstrap: Update routine to determine host arch > buildchroot: Split generic part > buildchroot: Add host buildchroot > isar-bootstrap-helper: Add target architecture for dpkg > build.sh: Add additional parameter > cross-compilation: Introduce variable switch > linux: Add ARM cross-compilation support > isar: Add ARM64 cross-compilation support > linux-module: Export ARCH and CROSS_COMPILE > linux: Drop gcc from dependencies > doc: Provide some notes about cross-compilation > scripts/ci_build.sh: Add cross-compilation test > > doc/technical_overview.md | 49 ++++++++++++++++------ > doc/user_manual.md | 27 ++++++++++++ > meta-isar/conf/local.conf.sample | 5 +++ > .../example-module/example-module.bb | 7 ++++ > meta/classes/dpkg-base.bbclass | 19 +++++++-- > meta/classes/dpkg.bbclass | 4 +- > meta/classes/isar-bootstrap-helper.bbclass | 13 +++++- > meta/classes/wic-img.bbclass | 3 +- > meta/conf/isar-bitbake.conf | 3 +- > .../buildchroot/buildchroot-host.bb | 34 +++++++++++++++ > .../{buildchroot.bb => buildchroot-target.bb} | 35 ++-------------- > meta/recipes-devtools/buildchroot/buildchroot.inc | 37 ++++++++++++++++ > meta/recipes-devtools/buildchroot/files/build.sh | 17 +++++++- > .../recipes-kernel/linux-module/files/debian/rules | 12 ++++++ > meta/recipes-kernel/linux/files/build-kernel.sh | 28 +++++++++++-- > meta/recipes-kernel/linux/linux-custom.inc | 4 +- > scripts/ci_build.sh | 14 ++++++- > 17 files changed, 248 insertions(+), 63 deletions(-) > create mode 100644 meta/recipes-devtools/buildchroot/buildchroot-host.bb > rename meta/recipes-devtools/buildchroot/{buildchroot.bb => buildchroot-target.bb} (58%) > create mode 100644 meta/recipes-devtools/buildchroot/buildchroot.inc > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov