From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6584097242600177664 X-Received: by 2002:a2e:9689:: with SMTP id q9-v6mr1063838lji.0.1532979598075; Mon, 30 Jul 2018 12:39:58 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9097:: with SMTP id l23-v6ls1203771ljg.8.gmail; Mon, 30 Jul 2018 12:39:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvpeLhpKqVeWkKJ93jmzcfOVbcjV2bHckJ1B8HT6XJ39UoCu5McObm56XD4Rh3s3ODY9D6 X-Received: by 2002:a2e:3203:: with SMTP id y3-v6mr1064439ljy.4.1532979597604; Mon, 30 Jul 2018 12:39:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532979597; cv=none; d=google.com; s=arc-20160816; b=Slt9QB0XoC3BzuELQRn5AsJi/1tkYCYy8aBTnZf99cll1CzUnKs+4fn71O2jd5nZog OFtNx3pQLxzaV/bA9dHu6rnYMBG7qiNOJY+BuLfi0Z3pAhJUAEjxYyyjeG/l33IL/H6V c3REIDn23zZ4IeyYtzQEh/rY4Bxza+MmSEEWS01o+efBifHDS/UNtRP6IllPg7/dZBjY agWpEt1LqbaACATlBCef6ZQwKQ04Oc5CdWwuN7i11nSM4sbYTuMUJ2F0bfH4elQ2aIPH z9L4pZPWPUcN5+PG6yjeIYnX8rDAP3m+y1mWAbsfrbJmGI0zgWMnUQDM8Y9VRlFGaOnN jBDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=7ySqnVsDacS4m0boX87PpXUsE/1geXMb3CsDpjfSxH4=; b=Rw9a3xfdEnMKOuPeZCMv1b1rFyuTp8xqn37E0FWIydjQJGe7JopeC7AU9aqgHCbnyX OCyJ9KsE5xmqoZMrl9G3J7wAYpgN7K0ec0WDuyZ88xmBNj4MgjNhiHf1fXIzem9iQd9V Zbl0oNfwIdbGtbTYTbnaYNp4eX6D+zj7jya7Nofz+Xp/5vtRXKVaUSb5OnCVRgODHR9R YqEGva+CBset0Z75d9Cv/GS2NT1vN4y6kvwZ9Ls+Fihd4Uh0SpEHdl02uP1iF5FYIIHj 8xFJ/V0AkS5NY58GwWnLcULsYxhPOf0NUvVc+AZcFac645BjyeD56he2xVAy3GuYi6Wi 9kBw== 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 z74-v6si377848lff.3.2018.07.30.12.39.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 12:39:57 -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 w6UJdiYB013563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 30 Jul 2018 21:39:49 +0200 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH v5 00/12] Cross-compilation Date: Mon, 30 Jul 2018 19:39:25 +0000 Message-Id: <20180730193937.32694-1-asmirnov@ilbers.de> X-Mailer: git-send-email 2.11.0 X-TUID: HargKb5qjYOo 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 -- 2.11.0