From patchwork Wed Jul 5 15:14:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 699242 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp2833967wrs; Wed, 5 Jul 2023 08:16:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57HD+CV2rI96IOU2lng/wgtRMPSTVZ8C6MuZ0elZa6bXhlhEwRzlmf0wbNHTlwAT1wemDR X-Received: by 2002:a5d:948d:0:b0:783:5511:7b27 with SMTP id v13-20020a5d948d000000b0078355117b27mr18239655ioj.9.1688570211293; Wed, 05 Jul 2023 08:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688570211; cv=none; d=google.com; s=arc-20160816; b=F3IzEqB+3t24+68NG/AFy6P4SeBYa3Jpiiz05VMJGAakVkHT9KScyMqQzIj+3re0NA WImmrI2nJzixrwflxMT3nI3iVyElJpCbhe+OB6xE25dYFFtZU3IA6J5gmFlW8zd664dt qPJGwe29gwbYMaGkvvfn/nrLy7vnJ6VWAF3gg2C3rfEJCQcFrb6E+xfiIlORkvEGQXkg eX4DmZ1iJNxUMCsWEWSEqmSHMsEuzFZhxaAqCIvo975sqTwqnvEdOP0FHp0efLrXqC1Y vTveFSjKsi8jwsCFGiJnDU1D1tcbX70oSYkkNhVhvJyxKUrEAqVIgH6WnYLnqRnc5E34 Q2gg== 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=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; fh=378OOY3Qcv/6SzHacyD4RkrbXzlmlfqp4CO9kQxJxOk=; b=LC3wAO3rnEZ2Y0fSgB1L34Tow1MV7vvD//zmjRA+6KqOj12MXohH2DOkbJZWTMrdbx iqyS9MYh+9SzSMLAPKFYOjOIHVJIOOEi6C/siqADICnq1lvnjMUXzV+l2780E7HC61mT Ld27iVbunG3ppRQrnOXlztv6UCNgS9/wiKLjcX7rSiwnnnHJ8zKVrlpdlSDas1jhSSaB e5vvPIBmqa2Y7c7TM8FZEBpJGSyaM/rQbd3Zw3tyTlZHQADMPWOyFQAAq8AjPQDGuJE6 tx8yzX6pKC6dWUaspBIialJ6Qu9zM730opEXNgOVQqavrtjtMLk7n6VTBFNjZ+UYUSfw EMHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NlRRXVAS; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id l20-20020a0566380d9400b0041a9e475ca8si11407920jaj.56.2023.07.05.08.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 08:16:51 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NlRRXVAS; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 C5B73861D9; Wed, 5 Jul 2023 17:16:37 +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="NlRRXVAS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E538986264; Wed, 5 Jul 2023 17:16:36 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 41CA5861C1 for ; Wed, 5 Jul 2023 17:16:34 +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-x22f.google.com with SMTP id 38308e7fff4ca-2b6a152a933so107231751fa.1 for ; Wed, 05 Jul 2023 08:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688570193; x=1691162193; 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=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=NlRRXVASotp63tM7CTBakzIIItNYPpFkdq58lAeTm3RIVslIx1JEKtODOq4Vh4iZ/e w9ilnBwcnNUW0iroFVImnX91S3tOo2FEdJYQocuRX0lqIZ39Da+xmkOvL5OM7b1xrouF dYW3wfcsp0RRtyPZ96T7zdvjThdrDBjSlRQUTKdLOXIryq91UuRvAavNZVqmVJul5hNU YQ9J95N3vOYABYwftOmxCsG1/Z48zeJ6GsYKO4FFo38QOUDOIRQDVwVqiHNYun79nS79 e8WcnL/BZaYNeX0pcqumxNTJ6i7oktenaqKd/cEDC4VtqgpRtOcXz5ovWQL21ayyhR3V v1JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688570193; x=1691162193; 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=8KSMKzLHFo3bFtjtnVoiAzbvADJWL2Q2ENTIt9VRhwQ=; b=kxvA7sFB6gKlCJN1pclsqlc5VRqnwa/9iZWiG5v1kmF8deVDwST6tjWBs0z9KbyuPK jFcts0vLCBWaueCZjW5uH9fVlOxm3Qq0rmKPUJFffvXZTZ0x1K0LELSK5Puu0Jena4NQ Q1CyfaUa7wUopgdr5W5J44f6ZX9z/5RqVmNpWIaWgn50RWHrVlF5CMhxs68Mia4uPaa4 p++T2JyP3jIj8ad9M4W2cQ1SjPzvA79OXD4fc1G211XUTNzcxIQ7IKFXIu6nC/U1KNiy Io8h8VCaUhAk/VVdAL5ENYs/El/yOiWz6/ezChA6twbnCXaeFKrrdS0z0C5Z8Ex+GS70 ATzQ== X-Gm-Message-State: ABy/qLYAdmLdrrthQ0zisX3fkNHaT4JT5JebDsbQp+Ti3jpajI4gsG5R JlykTA2tZ0HgnM6kd40mKV0HyvnsNSaOW1ej2R4= X-Received: by 2002:a2e:9b08:0:b0:2b5:9778:7ce2 with SMTP id u8-20020a2e9b08000000b002b597787ce2mr11429873lji.15.1688570193480; Wed, 05 Jul 2023 08:16:33 -0700 (PDT) Received: from localhost.localdomain ([45.82.14.220]) by smtp.gmail.com with ESMTPSA id c8-20020a05651c014800b002b6c61bac2esm3990560ljd.92.2023.07.05.08.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 08:16:33 -0700 (PDT) From: Maxim Uvarov To: u-boot@lists.denx.de Cc: pbrobinson@redhat.com, ilias.apalodimas@linaro.org, joe.hershberger@ni.com, rfried.dev@gmail.com, trini@konsulko.com, goldsimon@gmx.de, lwip-devel@nongnu.org, Maxim Uvarov Subject: [PATCHv3 1/3] net/lwip: add lwip-external submodule Date: Wed, 5 Jul 2023 21:14:19 +0600 Message-Id: <20230705151421.10792-2-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230705151421.10792-1-maxim.uvarov@linaro.org> References: <20230705151421.10792-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 This commit adds the lwip library as a git submodule. I think there has to be advantages to compile lwip inside U-boot, i.e. use the same compiler and flags as the main code. One of them is LTO and the other is to enable additional debug options for network protocol during development. Also we can copy lwip library code inside U-boot, but for now I don't want to send all lwip code to the mailing list. So it's git submodule. Signed-off-by: Maxim Uvarov --- .gitmodules | 3 +++ lib/lwip/lwip-external | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 lib/lwip/lwip-external diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..afc709af10 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lib/lwip/lwip-external"] + path = lib/lwip/lwip-external + url = https://git.savannah.nongnu.org/git/lwip.git diff --git a/lib/lwip/lwip-external b/lib/lwip/lwip-external new file mode 160000 index 0000000000..3fe8d2fc43 --- /dev/null +++ b/lib/lwip/lwip-external @@ -0,0 +1 @@ +Subproject commit 3fe8d2fc43a9b69f7ed28c63d44a7744f9c0def9