From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Aug 2022 15:36:35 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRZVj-00B1PO-KQ for lore@lore.pengutronix.de; Fri, 26 Aug 2022 15:36:35 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oRZVh-0005uY-LC; Fri, 26 Aug 2022 15:36:33 +0200 Received: from mail-eopbgr130088.outbound.protection.outlook.com ([40.107.13.88] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRZV3-0005tQ-BK for ptxdist@pengutronix.de; Fri, 26 Aug 2022 15:35:54 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZmzmlDu4Wzy3bEesvXNVUBAWz3LzfQlk2OWK1X3/V+7XhVQU5eNjDGRuv6OOfW/6LVJV2JSBKGjUO74NfJa8RR+mGxOf/Sv8WFMSkyqmXXkKlcxNkzzkOI/NufmR2S3ZmR5SFbMRvxihIvTH2vpmeG6vDFgONKq1Layzpb7fbbRdJrrLrLgTW/7wgTw6UCrQAXOzflmdTSaTcGWJJ5Lp4CjFnh9F5wSHJnHYTn7h/wDqzqKydqzQXzayMfxdEKwfSrmskzUk3LfSGJTMpW+JvCvIWlBdkslTfNKmDLnxNB/qJr1GK6acGpPlR9/fqYZoxYlm9kyHQUbMrD8G+oVMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lhau8DeUzl5eCllvuzvMZdKp0qWiSKuVm12YAUAXhTU=; b=NmxspJpY0JAeN9SfvAjr9ealh/DkewrlYgkuasVr4CPXuK7N9E2liAhQpSxz4r9HfebTpNDC5bNHxkCbwQWKMCmC53A2JNcxsoZGOnFjhRWGWmWxAf0WhPvXIiQdVvK37kPd2uvvn9C7FiURKJRHRZRIstbZ93tuA2R3xeOxx3kMExWD/Zpi7yA1CKL0g1c7FWcmhstkC2csTlL/vIsXCkxuhRKr21L26GNTo9/Mm6yjOIcRT2RGyXzo9Lr84socA6BFWhFhytq3SGlaR+KWYic1ElFk8kzZFiETad4kBrVICzm/CjTgMzAcZ6Jqt4FFaxU4xUXwFS7WxTp6Ote3ig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lhau8DeUzl5eCllvuzvMZdKp0qWiSKuVm12YAUAXhTU=; b=CIwa2or8ofrAIvTe2axrmT4eLg5yqZwgwzvrpuVkB+X7OQia1dfl59wjvNsyf5WCCoWxqnSSRWEPSDR8SbTOoFV00vvmmqh5gBQ905VpvSvop36BEkkzCulZa9LvnxW6xvSzxK55AnbeAXT3x3zj6ubKFdwZ4AZ/sY5LAEuI4GM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by AS8P251MB0783.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:523::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.16; Fri, 26 Aug 2022 13:35:50 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6%8]) with mapi id 15.20.5566.015; Fri, 26 Aug 2022 13:35:50 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Fri, 26 Aug 2022 15:35:35 +0200 Message-Id: <20220826133537.1843791-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3P280CA0020.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:b::32) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f58e0dd4-bba0-47c7-892d-08da8767e408 X-MS-TrafficTypeDiagnostic: AS8P251MB0783:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g6NwrSrl9YA33I4TsLlmVXTr2ERAMsGsByFRCvH1igc5PnEsm+UKGWuIyhgDi6U6Ik0mYhtoOIThnFhMqkGPdVsJJDX46NjKaHqekadyc9ggEGllB27PaoZu0F3Lr3hVvuw+CWzPIP1fQT93QjhbWcZOmn/GDa7vfm5vqaX82R+7cqRX30uMQoLmg1OFllK+RzeA5dmRPo0rKpmOHchpKYMMWZQ2c1jFMv5so4CUZ14n2lYVNhDaTodo2FNt/JvKS8LpuP9NFEQd3U3FLD89/iaQMWkZMynGoG67s87IYNx4Bve8H2HU3py9b+8vcdaiXl/lwH9tVnO1JUHmNrLcvMaBs2HBFzklzVab/vinny/sRUtFOeRbA67qw1X6FZKqZcDIpMRHrkqGCIn0VzutCID+qt4R2OJjT+mT5H9zcMiIu1Hs84GiOjLzDpv6vwBF9kzZ2snuYFSt3lJyn+aKBxYxETCGLJpjebBSuNVtZbC1Le54pO1Yflcs1hkrUP6OSg0r96TCRnGpq+tHbwF9Ufj1ClzYJGbI+t2uvTORlyDwAkIKnaOxwEVLhRBMx0t6Y9dNjYZtb8FGYLyTAbGQNzPbVb88Ela0OEsDQAnaH2WXRR80YBYF9NEywqev2jap38kCjJwCauxvLg4lnRzykU5U/43ydNE40aZiL6YJ67Dq6apLKm6qi8owKquHbT5oSRGq+og62c60kuvcRkfP/995z2R7hLyXr6z4nY/O4hcqavM/TtF+76m+hq4UiOtEuMP1jcOwUWo4878MqE8DvA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(136003)(346002)(376002)(396003)(39830400003)(366004)(6506007)(52116002)(2906002)(38350700002)(6666004)(44832011)(26005)(38100700002)(1076003)(186003)(83380400001)(2616005)(6512007)(6916009)(316002)(66476007)(66556008)(8676002)(66946007)(966005)(6486002)(8936002)(36756003)(41300700001)(478600001)(86362001)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ld/1c+XS5083KWlAx2GZgyW0oj9/6u3yPlKdLJiCt1ZUKpFoWNqjGEl1wgjH?= =?us-ascii?Q?bepMQ3o5P2ShF5PebseRaF/1Zo9VZTzUFjQ0K6s80VqPS5/N6ACV+MT5G5MV?= =?us-ascii?Q?o7uoLFVpfPrh+BJrhybQ/6xnzmzl8f+TukbOQY584z4V48GlMOGyaDelzlx4?= =?us-ascii?Q?/0Z7VAqYueypJ6ls9dFS9OwhOgSCDYBhxCnl6p2+8fV2Nmx9U7e/8UWj4oV4?= =?us-ascii?Q?DXm+jG45LVpQQYuCn6r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9EpaQ4pBHFXqaodCA9dI9bqhV2R62nZ3iGspuvR74yr9Hkj4dyH9H6iAF?= =?us-ascii?Q?5AgYk2zICUQlOmNev/uQw1I6MkSPTAass9V1Op3keXX1ttdudagAOtbjYrDt?= =?us-ascii?Q?4v1Krlg0OUxrE/7IhSs3fTDOk4nXrNu3b4Jkj9q0J8DFAoXyT7dSCF3V8iCt?= =?us-ascii?Q?nxp7k47XJ6IENfdWUxpjjUNzhJEoTnNojBN8tWt0b7nMc3CiEARDvRnPAEZh?= =?us-ascii?Q?E/dsuvuoxtl+VijIcPC78LuIM+n8sc5eMow/GRpMooiYFltFkX2d9+STR6Yk?= =?us-ascii?Q?z5TmwD7UBj+rCbRezNt5NX7Mv4ST40MAXxfC9y7wfOPrS/KEDlm0nxIQfJ6m?= =?us-ascii?Q?9gz5B7OXlzp0bS7mFpGr4Y0kj/ucbl7HRlymr+bZUeIMXHXZoKqD2FNZh8VI?= =?us-ascii?Q?wXD2VDdUe7Kum6wpV8gNMKRE4wRqyYqSSCVUkcLci01w0XYRKTNV2VomoiqN?= =?us-ascii?Q?+A=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: f58e0dd4-bba0-47c7-892d-08da8767e408 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2022 13:35:50.4429 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k4BRU+N/JAxT0YOHCwx3CZrupX7n8+CYcEIOFI+luUHCs28BS6OZczxcqEgpDX+Nx16SowtB8tBkk+BOMI5UB+Wpn5ncRmDHZ8aa2lva1vE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P251MB0783 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false * Make URL configurable. Also. This aids in pointing ptxdist to various vendor specific releases. * Make compression format .tar.gz. Default github contains such releases for really old releases, so it should be fine. * Bump default version to something more recent. Just cosmetics really. Signed-off-by: Christian Melki --- platforms/u-boot.in | 11 +++++++++-- rules/u-boot.make | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/platforms/u-boot.in b/platforms/u-boot.in index 769237081..8c7931d13 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -9,13 +9,20 @@ menuconfig U_BOOT if U_BOOT +config U_BOOT_URL + string + default "https://github.com/u-boot/u-boot/releases/tag" + prompt "U-Boot URL" + help + Enter the U-Boot URL you want to use. + config U_BOOT_VERSION string - default "2019.01" + default "v2022.01" prompt "U-Boot version" help Enter the U-Boot version you want to build. Usually something like - "2019.01". + "v2022.01". config U_BOOT_MD5 string diff --git a/rules/u-boot.make b/rules/u-boot.make index cadca4a6b..1ba6d47b0 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -19,8 +19,8 @@ PACKAGES-$(PTXCONF_U_BOOT) += u-boot U_BOOT_VERSION := $(call ptx/config-version, PTXCONF_U_BOOT) U_BOOT_MD5 := $(call ptx/config-md5, PTXCONF_U_BOOT) U_BOOT := u-boot-$(U_BOOT_VERSION) -U_BOOT_SUFFIX := tar.bz2 -U_BOOT_URL := https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) +U_BOOT_SUFFIX := tar.gz +U_BOOT_URL := $(PTXCONF_U_BOOT_URL)/$(U_BOOT_VERSION).$(U_BOOT_SUFFIX) U_BOOT_SOURCE := $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX) U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT) U_BOOT_BUILD_DIR := $(U_BOOT_DIR)$(call ptx/ifdef, PTXCONF_U_BOOT_BUILD_OOT,-build) -- 2.34.1