From patchwork Mon Jul 27 15:51:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337052 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GGlSVibV; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFkng3wXVz9sTS for ; Tue, 28 Jul 2020 01:51:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 29C35204BE; Mon, 27 Jul 2020 15:51:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDaXssLTKwHr; Mon, 27 Jul 2020 15:51:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id F3A3E21556; Mon, 27 Jul 2020 15:51:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6F4391BF3A0 for ; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F30248654D for ; Mon, 27 Jul 2020 15:51:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrxcMGF593yg for ; Mon, 27 Jul 2020 15:51:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id 309FF866FC for ; Mon, 27 Jul 2020 15:51:33 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id a15so15386816wrh.10 for ; Mon, 27 Jul 2020 08:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K6KNwUD2EWWncID/idou85dCo+N8dOhV3IaMR5OHDVk=; b=GGlSVibVBbSs84v6NYsUXNgRXHsYpr/2ZCdFgyI1ff4LUR3rh/oFWCSfl1u0Qre6yy Y6E3uqsx710kJ+I1WZvDul8K2GGIbAXUCaaz2cPtrikncYCq5SMvlIqoAYLmv2Qe6yul rjUw/tX9I9G0vZuQgivHkBvQahW+D6jY1RzEF+BYIkZinzG9GoBE0imFGR/2SDv05kz+ CjHFo7FzDhsuaMRqUAGC/C1pszwILtUPK0RKnAol5j7x1sov7QW/4gD3manGK8BOrf2U IZV3Fy/EdPxUg+sqMJ7SP6w859+Tlzv4LHNj9StqIipSuIwWHzTpSr6v4VTV7zWmUTzD COYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K6KNwUD2EWWncID/idou85dCo+N8dOhV3IaMR5OHDVk=; b=mtN9HcC8atLW9mRWK43d/B0BEOA+Tuod/PgxjC0WzNAhxiG0EGo7EpTxGpeTBjdk4g Eem5O2ImHDrEZM9Nikkjy5VoBmy0SXm1bz1YGaXoR+E3LmkiR9YGXugKH0YnkXhZjjnD XtEgxFmVFGCQcfL3kDYlW5ucwoB7ThmqAneNOhz2Z40lpZq+cnQgDeikB2zS91bDM2cm 0VAQrLBeTPeRTUwtVlkTBCuyC2yU/wpxAWgfzUz+IYkaVQUCISpWiCPQbdJovcg+wkZp OtOQEcPwpLvhP2I0QwB2TzEfhJvnKGlgutelUHzsWcfF9SVJd0gWag2TpXgiuxuZI0Ac iTng== X-Gm-Message-State: AOAM533ABJXKrn8Svgu35cBfiU5c4I+Bmp/ZHYzC5pzhEjtr0dvNG7e+ U+WrD3JvLdo5//CBKjceBzcHNTt0 X-Google-Smtp-Source: ABdhPJyu12fYM2Czxjyb6K3iPUeQSftTVVKyxdI63/LqwR27forp4tYy4OPRFadbPzfVXrPMjGr71w== X-Received: by 2002:a5d:414e:: with SMTP id c14mr22460753wrq.57.1595865091243; Mon, 27 Jul 2020 08:51:31 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:30 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:22 +0200 Message-Id: <20200727155127.2703286-1-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 1/6] configs/imx6ullevk_defconfig: remove typo X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reported by check-dotconfig.py. Fixes: https://gitlab.com/kubu93/buildroot/-/jobs/657885169 Signed-off-by: Romain Naour --- configs/imx6ullevk_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx6ullevk_defconfig b/configs/imx6ullevk_defconfig index 4a5558dd6c..81db66268a 100644 --- a/configs/imx6ullevk_defconfig +++ b/configs/imx6ullevk_defconfig @@ -23,7 +23,7 @@ BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk" BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y" +BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y BR2_TARGET_UBOOT_NEEDS_DTC=y # required tools to create the SD card image From patchwork Mon Jul 27 15:51:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337048 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=rVZO2bc7; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFknW6ZxPz9sVs for ; Tue, 28 Jul 2020 01:51:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 618482052B; Mon, 27 Jul 2020 15:51:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ljFXi50v8YPb; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9A39B20490; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 755B61BF3A0 for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 54E2620490 for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wlt1lVdxVXKS for ; Mon, 27 Jul 2020 15:51:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by silver.osuosl.org (Postfix) with ESMTPS id 322C820481 for ; Mon, 27 Jul 2020 15:51:34 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id r12so15350901wrj.13 for ; Mon, 27 Jul 2020 08:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qOK8Fu56JTKmmCfx9VtDx5BXnXthdoZIWJmihkrNoXA=; b=rVZO2bc7GoX+JH0lMMm6kFyvZKlaHSkQgYEHRTf8jiIYvwDkZQWXz1f8LR0JB4Vaff TjskT1xok+UrQXjiElEDHgIYCf/Q9LcnRi3NnFHCUtycNBLzbIycpM46SryVg32GJyye nKfB3pj97Z51fvzxvmKwIValSB+jMZ3MTy5wNhdamRzoc5uwLcMKi4ahYE1Jm2JiIYq8 KIkjn16i+LYSQsB6uE7prfun5R5ajM+xyvx4l+AEsQS/PxvlgchGAw3PtRl1BS6ufSh6 Sv8OwCEALuR5sWgSykJ9+e6yq2u4C+vnwSqNHzKRMx+keM1EYRguOB5qi6Yd6WbTERub PcDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qOK8Fu56JTKmmCfx9VtDx5BXnXthdoZIWJmihkrNoXA=; b=CaRvw/kaATTpb/cZv8KkJxJ1gR3ZZ6kj2PMgeUP9lyEU8HZJ1MhkXGFaUx5FDerzfh liXdF/56rG7A7zpJhL1vw3ywHRWQZyIvLNJzn2YLPx2XHOcm/IK2MR0CxN/QehgGfi2m NBFXI8f4XW+FHs3PeD7NiJPEyLOeRtorYk4MEtDMTL621UjIdx7GYPDK3gaZBMw7vvLo Yop3lE+1Rj/sGNKIA7izQeaiDZO5mcG9w5Byt/J7FDL7PIwRoyJeKLUktjxK9xUjXq5t HTEwYAcDliFTV8T7Ib40UwmFI+ptY3eeLCrLEP9LXwYXkBfV0HSJZ2UjjSaWlZPQj8dp OX8g== X-Gm-Message-State: AOAM533H0z3ATjzzL4Bx2H+41aDzDVrVL+ZKCT8SSJgyQtStKcjeiHJH TAZcmVkw6ixw7smUZbynZR0a1HOq X-Google-Smtp-Source: ABdhPJxbdBlWEAJZ4f5pc8bMdsi/DS3pxyTz5I/Bk5KR8Ou+JykiUCI0Utjb0hwway2QjHadFcNilw== X-Received: by 2002:adf:df91:: with SMTP id z17mr22958760wrl.149.1595865092098; Mon, 27 Jul 2020 08:51:32 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:31 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:23 +0200 Message-Id: <20200727155127.2703286-2-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200727155127.2703286-1-romain.naour@gmail.com> References: <20200727155127.2703286-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 2/6] configs/rock_pi_4_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" BR2_TARGET_UBOOT_NEEDS_PYTHON3 is already selected for this defconfig, BR2_TARGET_UBOOT_NEEDS_PYTHON and BR2_TARGET_UBOOT_NEEDS_PYTHON3 can't be selected at the same time. Reported by check-dotconfig.py. Fixes: https://gitlab.com/kubu93/buildroot/-/jobs/657885313 Signed-off-by: Romain Naour --- configs/rock_pi_4_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/rock_pi_4_defconfig b/configs/rock_pi_4_defconfig index 22ef74be82..401a59bac4 100644 --- a/configs/rock_pi_4_defconfig +++ b/configs/rock_pi_4_defconfig @@ -23,7 +23,6 @@ BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/amarula/u-boot-amarula.git" BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="cf2747360fdd1eb0d51dd01a984c7c62c7f714fe" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock-pi-4-rk3399" BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y From patchwork Mon Jul 27 15:51:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337049 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=M6vj4Yte; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFknW5bJXz9sTV for ; Tue, 28 Jul 2020 01:51:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5FDB287B59; Mon, 27 Jul 2020 15:51:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iGNsfD21XksB; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6748A87A0A; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 930561BF973 for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8FD9E85BEC for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GO3BjfPA-41Q for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BF32885BE4 for ; Mon, 27 Jul 2020 15:51:34 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id r2so10310402wrs.8 for ; Mon, 27 Jul 2020 08:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nzNichwSzOeYSkRpQVktumaHUpepbIzsIt6XzZ+dVxE=; b=M6vj4YtealIXhkmpdKN5dAAH0ssoB13FMdKYo3tIhRR9UsG2Is2G5t5S/jUhrboK8k QBk8wOz8sRWMKlrds8ncYvZAJ/b0lW4vmPQRzJhnd8Aaq2Lwlgg4ncE2SajKggDhsk+4 /I6j6H6j9aZxZQGLlOPq0HvorqbEg4jHCDSbaVLZDyf9MaxOSNGjDfx55SpR3KXzHZnK tpFZgO8RY0gytreqU26B2GQ6kjfKfUJklW7z0+E7UWGIJOrrPUFWevtktHNsVKT5e8Jl 1EhGo4MJ80/ibh25M6mvFMNLCiLFIjscon2uHjeKNLCFYbKmDB4hQL1AgVPVh0A9CnuK n1aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nzNichwSzOeYSkRpQVktumaHUpepbIzsIt6XzZ+dVxE=; b=CFUJhabu9SIEV06ugCdsbgRXteTTUFBk6cj70JR2gjVCpadH0Wz6Y6LNotpjcjZj0j Y5oiN5Af8WRDmIZoIGAHodnFAy5sZCarsLSn2g2R6KmuE5AJl8NkDPzXeKNo7orqbALp KEaBCIci8JkbVsVPV9GOw5AsYau927WITUyiaUzx9tMqxU3awNPfJIvWH3F/UeBMd4mO nbmkOKjUFcFFgsfLhgxvpQxJiO7cpmodiJOpIxYxoJQkzVqVwMdHuARdByQEvUEKJtHD MvNiY7i62JMSc1KC4KZMRg6+eL2FTM4Q88fQhw4g622QMrPTbJWnf9/gpXcBebCQTJ7J S/wA== X-Gm-Message-State: AOAM533dODgMiQoLd7N/tcJIHZxONnbHmKhYE7InMILdAz5kI7eGNBoT Ol6EfO8UXdF263+alLvzV6kmJoND X-Google-Smtp-Source: ABdhPJx7FX3gG53FJq6YVo0jhJUSvdll2/vv8ereG2TkVoDEM9tzsu50uG3AUwCpLcg8fjdZoqxqiA== X-Received: by 2002:a05:6000:124c:: with SMTP id j12mr21091213wrx.83.1595865092942; Mon, 27 Jul 2020 08:51:32 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:32 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:24 +0200 Message-Id: <20200727155127.2703286-3-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200727155127.2703286-1-romain.naour@gmail.com> References: <20200727155127.2703286-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 3/6] configs/rock_pi_n10_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" BR2_TARGET_UBOOT_NEEDS_PYTHON3 is already selected for this defconfig, BR2_TARGET_UBOOT_NEEDS_PYTHON and BR2_TARGET_UBOOT_NEEDS_PYTHON3 can't be selected at the same time. Reported by check-dotconfig.py. Fixes: https://gitlab.com/kubu93/buildroot/-/jobs/657885314 Signed-off-by: Romain Naour --- configs/rock_pi_n10_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/rock_pi_n10_defconfig b/configs/rock_pi_n10_defconfig index bfaa489a20..c622839c89 100644 --- a/configs/rock_pi_n10_defconfig +++ b/configs/rock_pi_n10_defconfig @@ -23,7 +23,6 @@ BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/amarula/u-boot-amarula.git" BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="cf2747360fdd1eb0d51dd01a984c7c62c7f714fe" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock-pi-n10-rk3399pro" BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y From patchwork Mon Jul 27 15:51:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337050 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=toXXAVB5; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFknZ6N76z9sW0 for ; Tue, 28 Jul 2020 01:51:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4149220522; Mon, 27 Jul 2020 15:51:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P9srfQLla7rT; Mon, 27 Jul 2020 15:51:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D8630204BC; Mon, 27 Jul 2020 15:51:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B7D261BF3A0 for ; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B414987823 for ; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DcvBftMmHJeo for ; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by hemlock.osuosl.org (Postfix) with ESMTPS id DD7F18781C for ; Mon, 27 Jul 2020 15:51:35 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id r2so10310482wrs.8 for ; Mon, 27 Jul 2020 08:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GklNl31eoftJGakKL2qahhZ7SuctABhXzbkwJtpUeX4=; b=toXXAVB5xHHtgKEFy4OUD+0G2o2cFoz0qia1WL5PycDEPx3rtMnp/4nO1Wu4qUlNQe mwcALdTfrnY4p5Ma2te3DhKp2G1LBHZ58b8UD9oEAK8ixbXUxFceYJAfs9nDGxQ+1KMU ONys12d4VwHtckdK4A+QUB5RZMpX0rZm9o1cngnSNpb89ZG8vv7yvXB26KfKRvY0cLHA y8afv7ib6PV6NgjD22ZbgnJFT4IhpC3LePHrFD6y7tpuVbLIiLqD1AcZ5529OFbWuB08 WOo3OpUKWqvNirY0hYpsGndX+BFGABUMNBmv0052rz+Di72ZC8O6WTf3g4hhi5z+k+Ew /CUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GklNl31eoftJGakKL2qahhZ7SuctABhXzbkwJtpUeX4=; b=fYT4MAbcivUdZPeicy7q+snam+tZukPbKabYOfr3a0ubJVmA8FgIB8/eMKtrUvDhZW qXN0K3wEilwl6Y6jafz9qGy2AAkTOVhFNVkdNxPFsd/r13CjKVnC2ynviK6iGvTc4NFY Ceqiuxa1AuNUl7ck8xHs+rLFTPfOWdo45YoAF3LtM97YTqv+pB6gdVuTqRwrHiTqVMUP Yzef41KlHWl3WA+1e1JU6KfVDVngDZHypeQLZZBisHutt0UI5rhvnn097A10tGlz2v5v EhGR+M19uJorXxTe5Wied5Ti88WskIhvaDUD6jUD/rh4cJAvjdNT7lgs7HsGOr42Sl7R rh1Q== X-Gm-Message-State: AOAM532jGB5VrElkkktq5Ir2DbWS/gaCE+4sP/C8CKuLywbpbe5MIcpx vPKgxoPZKTS1AaVCYpuDuLlV+OiC X-Google-Smtp-Source: ABdhPJx7KXGE8pv64XTC6IJsGakZJoh1R0JmNM98wuUZHwKLi2VSVlA/H4ibAAWDliM+rUmLdLytYA== X-Received: by 2002:a5d:558a:: with SMTP id i10mr19489010wrv.146.1595865093937; Mon, 27 Jul 2020 08:51:33 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:33 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:25 +0200 Message-Id: <20200727155127.2703286-4-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200727155127.2703286-1-romain.naour@gmail.com> References: <20200727155127.2703286-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 4/6] support/scripts: add check-dotconfig.py X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , "Yann E . MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For the same reason as for 50b747f212be2c9c0f7cf10c674ed488d042715c, we need to check if the generated configuration file (.config) contains all symbols present in the defconfig file. If not there is an issue with the defconfig. This script will be used in .gitlab-ci.yml. Inspired by is_toolchain_usable() function from genrandconfig: https://git.busybox.net/buildroot/tree/utils/genrandconfig?h=2020.02#n164 Signed-off-by: Romain Naour Cc: Thomas Petazzoni Cc: Yann E. MORIN --- v2: update with the improved patch suggested by Yann. http://lists.busybox.net/pipermail/buildroot/2020-April/280679.html --- support/scripts/check-dotconfig.py | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 support/scripts/check-dotconfig.py diff --git a/support/scripts/check-dotconfig.py b/support/scripts/check-dotconfig.py new file mode 100755 index 0000000000..81c83a8481 --- /dev/null +++ b/support/scripts/check-dotconfig.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python3 + +# This scripts check that all lines present in the defconfig are +# still present in the .config + +import sys + + +def main(): + if not (len(sys.argv) == 3): + print("Error: incorrect number of arguments") + print("""Usage: check-dotconfig """) + sys.exit(1) + + configfile = sys.argv[1] + defconfig = sys.argv[2] + + # strip() to get rid of trailing \n + with open(configfile) as configf: + configlines = [l.strip() for l in configf.readlines()] + + defconfiglines = [] + with open(defconfig) as defconfigf: + for line in defconfigf.readlines(): + # strip() to get rid of trailing \n + line = line.strip() + if line.startswith("BR2_"): + defconfiglines.append(line) + elif line.startswith('# BR2_') and line.endswith(' is not set'): + defconfiglines.append(line) + + # Check that all the defconfig lines are still present + missing = [defconfigline.strip() for defconfigline in defconfiglines + if defconfigline not in configlines] + + if len(missing): + print("WARN: defconfig {} can't be used:".format(defconfig)) + for m in missing: + print(" Missing: {}".format(m)) + sys.exit(1 if len(missing) else 0) + + +if __name__ == "__main__": + main() From patchwork Mon Jul 27 15:51:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337051 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=WkIqNHm7; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFknd5yBmz9sTV for ; Tue, 28 Jul 2020 01:51:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D3FAA86A14; Mon, 27 Jul 2020 15:51:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWmlVPkZ5xQv; Mon, 27 Jul 2020 15:51:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DFE828671A; Mon, 27 Jul 2020 15:51:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D4A221BF3A0 for ; Mon, 27 Jul 2020 15:51:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D12C287823 for ; Mon, 27 Jul 2020 15:51:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHoyFxGxe8vw for ; Mon, 27 Jul 2020 15:51:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id E24618781C for ; Mon, 27 Jul 2020 15:51:36 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id r2so10310546wrs.8 for ; Mon, 27 Jul 2020 08:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gcVuRFFAdOp0c2QvZ0ggQBlckgbqbt/HAo7dqRAfDBw=; b=WkIqNHm74blW20YWUK9ix+rolSM8gON9bP/n3zVvEEc0mIWpivmQaRoqimFyIXsEL6 n9lrdBVGkHSDU27OTyJgo8/MsVj9UYv32CRZHRgUeS6eJfc3PCsb1jPk7UISzu991rp0 obqk9vWBX4KxPpf62IgHCFd20KddfbdrjuS4fYwYOhF+87pGSC9ll8mhDYOBUHZcvw4b aSSbNgpA4U8FboxXRGSc8Kd1GJr54jtxIOIQRqP6QXNPj7rz1L4v2NiiqIZscFk4DFrv 4f0gpcY+uZf82LZCjw+GxM8d0Ua24D514EFiyPl+TT/oaao/ZqDPT8ZNEtoSPzbLXaAW 6nWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gcVuRFFAdOp0c2QvZ0ggQBlckgbqbt/HAo7dqRAfDBw=; b=BJ5+a8FNfgvZsK3GC+Ogmb8xYEGMu91j4QUJmogR31QpuyX5dc4yZ0Fb9FJy1xRwQg sXIy5igbg4egQ25nHqpMpw0FdTXgXBVk0TJW9tm3Ctn5cxI6Re9JEyrQZG7jeuOXN9J+ OePJ7nhgHJzq+h9XUyu3GUXLHxYuh1Br1G3dP+r5IN8yIH+Wix3kVxhkwWif5XqXBlqn GA4bv/JWgNyDtg1mtCqpOBWRHrVqC9oJDPa3+VZbxh8G82UGxj5GHJd+rR99cuCwyAzQ +jxmM4VIygQjpRjMe+4uRAI1DcDGopWoYRKJri2A2/3hWL958ebOb+UxCfm0u2qPN+kg 5k+Q== X-Gm-Message-State: AOAM530bg6XFNKlb4nyjpSkgDWEbhh6EXX2fhYwqbBBCSj14SWsFWcae +P8+Cw6uUIwcYZyh/rDm5RiDHbef X-Google-Smtp-Source: ABdhPJwautcDKHFwtgCj6nTSnjJw0jmGrk+05fySbCcKeaV6d5hILGrKqq/eFdGJT9FBYn8BHbDiQQ== X-Received: by 2002:adf:b198:: with SMTP id q24mr20092207wra.335.1595865094943; Mon, 27 Jul 2020 08:51:34 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:34 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:26 +0200 Message-Id: <20200727155127.2703286-5-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200727155127.2703286-1-romain.naour@gmail.com> References: <20200727155127.2703286-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 5/6] gitlab-ci: check generated config files X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use the script added by the previous patch to check generated config files. Tested on gitlab: https://gitlab.com/kubu93/buildroot/pipelines/137597966 Signed-off-by: Romain Naour Cc: Thomas Petazzoni --- support/misc/gitlab-ci.yml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/support/misc/gitlab-ci.yml.in b/support/misc/gitlab-ci.yml.in index cf9bf5f9cf..01592f7155 100644 --- a/support/misc/gitlab-ci.yml.in +++ b/support/misc/gitlab-ci.yml.in @@ -38,6 +38,7 @@ check-package: script: - echo "Configure Buildroot for ${DEFCONFIG_NAME}" - make ${DEFCONFIG_NAME} + - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME} - echo 'Build buildroot' - | make > >(tee build.log |grep '>>>') 2>&1 || { From patchwork Mon Jul 27 15:51:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1337053 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=pVezRsX+; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BFknl0FlNz9sVs for ; Tue, 28 Jul 2020 01:51:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 667712049E; Mon, 27 Jul 2020 15:51:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QLEtT7+pjap0; Mon, 27 Jul 2020 15:51:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4CBE721556; Mon, 27 Jul 2020 15:51:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A4FA01BF3A0 for ; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A1FD687A30 for ; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M7eVtt5F-VQ3 for ; Mon, 27 Jul 2020 15:51:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id D468D8788E for ; Mon, 27 Jul 2020 15:51:37 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id l2so4837603wrc.7 for ; Mon, 27 Jul 2020 08:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=x1WbIcMdJjOZmIf2ArFL0s/PhqrcjunMDn6+G752v88=; b=pVezRsX+UWEO6Em0Kqj4x3JomckQJs5uwWKp7WOl1WWXMdtKgjq9FVYqsV8RVWuJBa JBwYayVN/V9UMmEMxmKOel0UmeahxkKfjCpCXoJw4/0Eh+jx2Nlqk+I7uoygpNOZlhhW ZX2SM5r2X0eKyPmSCyXpTtJPf7Sr5qa21MMjN2v69gROKS7Y3gRGIO8D0NekJAYJehHZ uR1UtfKs2J4PG1xaBTZ0hvo0sWVEw0Y/ogo8zeA8jUm1fYXSDqxmcQntUJgQiwWFJmNk 8mpp9g38wXCP69vJ9qHk/tIghxbOp6z8PmPNZ5gSh3V8kbkJk/DuYBcrOqFBjBlgSZAx xlgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=x1WbIcMdJjOZmIf2ArFL0s/PhqrcjunMDn6+G752v88=; b=RFTZr4tfif4TpKrYpoSAt9ONwQ45sVbBQKQMGDDF07aI8sJymB7XYHvb7GKjtw/3Ui 3SlQAy425v2emyJglplWGVtUJvrhZA+rJfW2WZD5zRNxn+x0vfY9oXY3QpEAuvadChy1 1Prnc54d9WcbV4asT67WpnB0jxOB5UbCyVj8KTIJIZ7A2G1Uv0BAhASHIecJDSOdh4UP FjWZ7ihJIFiVCx4+Jw3mhyciDolw8iHYegyNMaAGssLOYKlHy1Epwh4FokqkarruDOMB ZtNtCDfWyAdvNqb48a/SRnZmfpJJSvuJrYpsxdagf3DsXaGY+1ME3y0sXwU0x18FKD1a YxtQ== X-Gm-Message-State: AOAM532Xgp/A8rpiSNkJP6yaIC1v9u0W6p8A5owosVg2vMxJpcJw42ow pcgMIvbG7Vaf5FJCAzQ0zcDmwIZd X-Google-Smtp-Source: ABdhPJxNyMhln3z3PclHpRTbtHS3e4uxLJ9/0oxel9jTwjoA6X+cE+j1OfL4Xbe+YXaY8IMfOA6+zA== X-Received: by 2002:a5d:464a:: with SMTP id j10mr21992956wrs.187.1595865096016; Mon, 27 Jul 2020 08:51:36 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a18003dbee9eed79eb521.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:3dbe:e9ee:d79e:b521]) by smtp.gmail.com with ESMTPSA id 31sm12724187wrp.87.2020.07.27.08.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 08:51:35 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 27 Jul 2020 17:51:27 +0200 Message-Id: <20200727155127.2703286-6-romain.naour@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200727155127.2703286-1-romain.naour@gmail.com> References: <20200727155127.2703286-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCHv3 6/6] gitlab-ci: check all defconfigs on every push X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , "Yann E . MORIN" , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The defconfig check has been introduced by the previous patch before the building each defconfig but those builds are done every week or more. Checking if a defconfig is valid can be done on every push in the repository since it take few seconds. This would allow to detect as soon as possible a problem in a defconfig and eventually avoid breaking the build while build testing all defconfig. Introduce a new job template ".defconfig_check" in gitlab-ci.yml.in and modify the generate-gitlab-ci-yml to create a job for each defconfig to run the test. Although, we could have used only one job to do all tests, using one job per defconfig allow to identify easily in gitlab which defconfig is falling. Tested: https://gitlab.com/kubu93/buildroot/pipelines/138331069 https://gitlab.com/kubu93/buildroot/pipelines/171223758 Signed-off-by: Romain Naour Cc: Yann E. MORIN Cc: Thomas Petazzoni --- support/misc/gitlab-ci.yml.in | 13 +++++++++++++ support/scripts/generate-gitlab-ci-yml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/support/misc/gitlab-ci.yml.in b/support/misc/gitlab-ci.yml.in index 01592f7155..7218ea027e 100644 --- a/support/misc/gitlab-ci.yml.in +++ b/support/misc/gitlab-ci.yml.in @@ -34,6 +34,19 @@ check-package: script: - make check-package +.defconfig_check: + script: + - echo "Configure Buildroot for ${DEFCONFIG_NAME}" + - make ${DEFCONFIG_NAME} + - support/scripts/check-dotconfig.py .config configs/${DEFCONFIG_NAME} + artifacts: + when: on_failure + expire_in: 2 weeks + paths: + - .config + before_script: + - DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g') + .defconfig_base: script: - echo "Configure Buildroot for ${DEFCONFIG_NAME}" diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml index 262a7649b2..5cef1146e2 100755 --- a/support/scripts/generate-gitlab-ci-yml +++ b/support/scripts/generate-gitlab-ci-yml @@ -10,7 +10,7 @@ cat "${input}" cd configs LC_ALL=C ls -1 *_defconfig ) \ - | sed 's/$/: { extends: .defconfig }/' + | sed -r -e 's/^(.+)$/\1: { extends: .defconfig }\n\1_check: { extends: .defconfig_check }/' ./support/testing/run-tests -l 2>&1 \ | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: { extends: .runtime_test }/' \