From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6584097242600177664 X-Received: by 2002:a1c:f303:: with SMTP id q3-v6mr363322wmq.16.1533236425453; Thu, 02 Aug 2018 12:00:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:4b17:: with SMTP id y23-v6ls761029wma.10.gmail; Thu, 02 Aug 2018 12:00:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf5+2nFdR9mrdYOF6FHA/whuU6yveEGmFLu/joUpjgUIBum+JZDHOw0sBqL165qaDEpbT2x X-Received: by 2002:a1c:c011:: with SMTP id q17-v6mr401132wmf.6.1533236424956; Thu, 02 Aug 2018 12:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533236424; cv=none; d=google.com; s=arc-20160816; b=NcVptjUtEcQVdWIAW5VyeXFk63JZjTf+fOdHGdtOiYoKkLM+d2sf/XVXT/MmCY8BIY mV8XRm0V66Q8pU6ZsYY7Zl9nKn/Tzn0mSlDcl6YOkIjnOAp3nmUx40m4JwlrEOKpoTTo rOU9zBEuEvmQTHP2hXk0FngocOlHQwd9ZTpzgm6PM+bfFJEGNBJn0yRX71mQ5vsPIsQd CPzsy48McoVbCLdkeb7wAjHiskArzI4OHGkO/AbgLL8dUpN72icx7x6aVAMOgt3g+Fma MfBh4kpsOctXI9HJMgOOpfJqUGuf1L63aJ21S7n0otBMkmO7SbRjz5E0cRKd1Z7UqoKH cVUg== 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:from:references:to:subject :arc-authentication-results; bh=CmCbMRKTBhXI6CejMrYlkTuRqnuCQiUQE66TCux5fH0=; b=ycdDYNXWnNXyFPlLai/jC6PwkUQja/Oa6ZR/hNFAZ1vQWNumKc8cxPsY7E2a7jQByD svL0vn2tkQMQSLEYQn8+eXt9nRRaf/jXtdD7p17bja1BI/RkAHub5EeJgQJaIaSenlwE EN3lHcCcPvnW/S3SjpYsKJh8NUs093Jn6pPyLFFLlSAuqzOBZV0SIVqcuBSDUDFmAuiE KepNKLtOc99XglM843X2s7F09k+wGCrOLaqyDA4mGGBgxOtsZgCoi9FXw3JaKBJrFCBW PEphMxgQo0fBnf5xhdpGIpgPYbxT6yS4I7hio0sjIp44Vust77AO7czfp0SmInnYiLte 3mAg== 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 s11-v6si77465wrr.3.2018.08.02.12.00.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Aug 2018 12:00:24 -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 [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w72J0L9U027220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 2 Aug 2018 21:00:23 +0200 Subject: Re: [PATCH v5 00/12] Cross-compilation To: isar-users@googlegroups.com References: <20180730193937.32694-1-asmirnov@ilbers.de> From: Alexander Smirnov Message-ID: <50ba3c90-8c2c-6d5b-c763-2334761b7b30@ilbers.de> Date: Thu, 2 Aug 2018 22:00:08 +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: T8lDMHs1W6cN Hi all, good news, seems this series works for buster also: $ bitbake multiconfig:qemuarm-buster:example-hello $ find tmp/deploy/apt/debian-buster/ -name '*.deb' tmp/deploy/apt/debian-buster/pool/main/h/hello/example-hello-dbgsym_0.2_armhf.deb tmp/deploy/apt/debian-buster/pool/main/h/hello/example-hello_0.2_armhf.deb tmp/deploy/apt/debian-buster/pool/main/libh/libhello/libhello-dbgsym_0.1_armhf.deb tmp/deploy/apt/debian-buster/pool/main/libh/libhello/libhello_0.1_armhf.deb tmp/deploy/apt/debian-buster/pool/main/libh/libhello/libhello-dev_0.1_armhf.deb P.S.: I took buster series posted here by Henning. Alex On 30.07.2018 22:39, 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 > > 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 >