From patchwork Tue Sep 26 09:41:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 726403 Delivered-To: patch@linaro.org Received: by 2002:adf:ea87:0:b0:31d:da82:a3b4 with SMTP id s7csp2834141wrm; Tue, 26 Sep 2023 02:44:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECcxQb2djS8xkTtSRdVFuCunIJqNEaqgwn4L4zlMXQ1S2B546VPhc46X8++QHxJMGZcQMV X-Received: by 2002:a5d:6a8c:0:b0:31c:5c77:48ec with SMTP id s12-20020a5d6a8c000000b0031c5c7748ecmr9444554wru.62.1695721443136; Tue, 26 Sep 2023 02:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695721443; cv=none; d=google.com; s=arc-20160816; b=L6LBthuLgG1gNgshCk79/v8goFy6zziZ97WD7fZZGxOAbnFzruQ3R98uj/C+WBlF3i 9i2vJm+n9pN+HlQ4xh1AhYSzx+XT2sxksDPcRvNqrhOJLWchNlUlA4DfajTA4yCU8nKr v3yoPYpwIeCajSODiijjjPLFhKda+kzNxymR8Jd8PoQi0E9Jg8AXFKrTi/5yeHGSrpzA 4deTgqcb3ZR0xltkbaHJsS62nLu5BNzRKFS91R0fI5Co/TlhDUnmVpssmKsU/4DXiWP/ mNHIC3NTPCraUifuAXC5MKa/NckntWyq7Yc87jn5TZIy9wIUwpi6mhNBjDgl52GWE/+F Ulog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rwduQnV1Xu5joMM1MS5p9PsJ9ckh8zm2EZunCj9up6o=; fh=hYoOR0yg+Fo7S26X8ur5L+RaTmkyxWlAVaBypEC8A0g=; b=HBOku2j854GhEvBT57JES/gp3uYiJYXpdihLtN9On6u1qRzHAaAxJqEaRdx20xhk6O 3nHDqYLTZr9VzQp7kSYSQLFNhzftP1QICqQOFHS6etRhR/1KRBi0fVAQcfOPOqHs7O4b P38v1WMZ7MW8U2OP83hv2SuQqG9WeZGl+7M2CiCNJ+ii4lJPt8VKRBVyzBZOF6n3NBu0 O2e964+5cmwIdoujWPbAfSdk4y0ixd4sRLJbhXXdY5CyZ7eXY0LSYnU60sY7PBo6TSGm jv1BHKE5iYIpnDPgeX4w7/HQyJbjNebZsBBookt7lfOZDrETjPNnK7BE6nvNe8+XCSZr 9KFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J36iaq0O; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id c3-20020adfed83000000b0031fccf7ca91si6356877wro.107.2023.09.26.02.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 02:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J36iaq0O; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1DFB686D55; Tue, 26 Sep 2023 11:43:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="J36iaq0O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 42C7686C2D; Tue, 26 Sep 2023 11:43:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EB35A86AF7 for ; Tue, 26 Sep 2023 11:43:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=maxim.uvarov@linaro.org Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2c038a1e2e6so130073051fa.2 for ; Tue, 26 Sep 2023 02:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695721424; x=1696326224; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rwduQnV1Xu5joMM1MS5p9PsJ9ckh8zm2EZunCj9up6o=; b=J36iaq0OAviDTlfakx60CTMbEWWIjrRLOiXpuwsNAeg9zvBj97/eEIH4IG5/c9NlrN mzlMRKy92fpS+ZgMHaSxyzPUqvikPIShqNKUCv0ShDzBWRyqCuMiTMlzHyC9dZB2lgyA Q8FdzRBNZHyF+NcJ2VQVCjMtKz2qpMNaEYJA5StF2gf3ixkYR9nhY84zBk1vjap09g8X lrMMAP97Xvswtj5ggh/rzBN4+8ALlbdkfMbBwjLEhHWU7Gea0MScKgMnegG93jZ2cUep 1W4vwnxgOwXxie+QaeCB1emDfJEueze1yiqmjkOFADzcf9N80k4cwq4Llbb1PIf3HlOC RTnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695721424; x=1696326224; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rwduQnV1Xu5joMM1MS5p9PsJ9ckh8zm2EZunCj9up6o=; b=dMb+Mhl2MzJaTxX04pXmFDUuGL5p4FmcWZaQZaX5HNHFUCyEF5hU94yBVx69WtS9Y/ jRqxaYbMBrNfb8OoIdk1978DgR0AxPHBYm1Uc4EgUvzck5+P0fs7qxgdkh9ZZxzhfpfY 3Zd8HEx5SqRHuZ+nbkdTgh60JXdwC1GqmF/C5twoMZUPQ4yf+oVEb31830S9NdRGF3Y3 IASjd1a5yEVsv7EDou5mCYRi+BvQkZ79559MbqVf05YLAcVc6edVLk+FO9MZRDuBlpaM CDiPXOwIL0eHGwQpzpuXXqwpj5CR92vZ0IpzyZKGQNwj9o+XYtFaE2wWK9oKInskfSyC lNLQ== X-Gm-Message-State: AOJu0YyA4kfViwwn5L0eSh52J+Zmxeu9o/+g0R48VUQhHlYy1Ic4aURx Lwr4W3fD4QYCKssGzLIj4W49ejmnoN6rYOgrvkMZ8Q== X-Received: by 2002:a19:e015:0:b0:500:8f66:5941 with SMTP id x21-20020a19e015000000b005008f665941mr7232401lfg.50.1695721424077; Tue, 26 Sep 2023 02:43:44 -0700 (PDT) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id x6-20020ac25dc6000000b004fe09e6d1e7sm2131131lfq.110.2023.09.26.02.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 02:43:43 -0700 (PDT) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: pbrobinson@gmail.com, ilias.apalodimas@linaro.org, joe.hershberger@ni.com, rfried.dev@gmail.com, trini@konsulko.com, goldsimon@gmx.de, Maxim Uvarov Subject: [PATCHv10 02/15] Makefile: init submodules Date: Tue, 26 Sep 2023 15:41:11 +0600 Message-Id: <20230926094124.7024-3-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230926094124.7024-1-maxim.uvarov@linaro.org> References: <20230926094124.7024-1-maxim.uvarov@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Make the make command automatically clone git submodules. Signed-off-by: Maxim Uvarov --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9be24c4ec6..3a3cda2365 100644 --- a/Makefile +++ b/Makefile @@ -1871,6 +1871,9 @@ endef include/config/uboot.release: include/config/auto.conf FORCE $(call filechk,uboot.release) +initsubmodules: + @git submodule init + @git submodule update # Things we need to do before we recursively start building the kernel # or the modules are listed in "prepare". @@ -1895,7 +1898,7 @@ ifneq ($(KBUILD_SRC),) endif # prepare2 creates a makefile if using a separate output directory -prepare2: prepare3 outputmakefile cfg +prepare2: prepare3 outputmakefile cfg initsubmodules prepare1: prepare2 $(version_h) $(timestamp_h) $(dt_h) $(env_h) \ include/config/auto.conf