Message ID | 20250520052153.307194-11-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e88a:0:b0:3a3:61c9:c5d4 with SMTP id d10csp1428320wrm; Mon, 19 May 2025 22:23:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX80DYQuX+PFyE6T9rtixQT0H5X8C2zgNWKWCMfCJijWCvFgNC9jDwKNt946SjoIUzbeLRnmw==@linaro.org X-Google-Smtp-Source: AGHT+IEV23z2FS0j2Brs97K1XIGCtvaaNePIckoKWxMTZAGtny3J7wHiAqHeYT4q15Q7mRiskerm X-Received: by 2002:a05:6000:1847:b0:3a3:6a77:3391 with SMTP id ffacd0b85a97d-3a36a77373amr5630219f8f.15.1747718622994; Mon, 19 May 2025 22:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747718622; cv=none; d=google.com; s=arc-20240605; b=iS512EiwN0oM4MgXsC1HMd5oaZtyQ56sX/8Mgz7aa/eZZuYfYfjJbOV9B7E7QKvWcS aTO9yOdjsSmnLzutE5wio5jHSzN8C8uGw51qJW6/+fBbrUZU1OIY39R1HIlU8Or8F16Q OKlvZlzxa4VdCVWe9+AYDXj1lYPEAJyzDgyYCZbTJ/l2XimZeyIKGA8PLEvnkwDkiogf YLgAkPStBEsnWogKUUm0nuFPU4ZHlmkBKdQYeLnWqE/jmCL2kuJLrGixmc0qxxS9uIne dHuZHp5knnjA9TyQN4APRKR8Bx9k8b/LMFktmDzebijJyOoVe9datnRjGIo0mQ4MPjZF Uk8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=siqFNQWCvueAM0VVXekArN+vDPNhJjXRQCAFGK43+g8=; fh=B1qvrdVwLyeh7SQoRfFw/hxichDhVhc75JXcuS6C0c8=; b=Ph7W91mvxm/tsaP4g9mOtGgKTQMIwlZ9QFN7JMc/EDjVKz65z6Q77YSlznNPWVCvrD qeVc3ammHIiH/f7sQrZ6HPbec++O+0dZioP1Lp/FKO3ZBZKKeYijX8rSvWumMYG9foPl RKq4dMSkq3NB16ADxSGYki/N/hWvxg1g9WPAMmu+o9ylFXBIdVe09YjrKpWhYb0mhcw4 ijnmLtJfgXOHtCkLOz5c41+C0TZNnl6BxY94uE5YVORdhQFt5Aw/HfjkqvE2cspjgbtx 1Wt0qlKd8BE7uJ/eW/q/jKiUI9lDZc2LKj1Tw/DvRNm6JXi2jqPSjZkMoMVHEbsLSsey F4Mg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FY+ryaIL; 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; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ffacd0b85a97d-3a35ca7f417si7266132f8f.320.2025.05.19.22.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:23:42 -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=FY+ryaIL; 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; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 675D882C7D; Tue, 20 May 2025 07:22:27 +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="FY+ryaIL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1CBC482BF2; Tue, 20 May 2025 07:22:26 +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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 2DE5482BD7 for <u-boot@lists.denx.de>; Tue, 20 May 2025 07:22:24 +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=ilias.apalodimas@linaro.org Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3a36abf5df9so1484648f8f.0 for <u-boot@lists.denx.de>; Mon, 19 May 2025 22:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747718543; x=1748323343; 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=siqFNQWCvueAM0VVXekArN+vDPNhJjXRQCAFGK43+g8=; b=FY+ryaILzAJdAFg0ZhWS/BuX/O7VgBUYpWW3bIzWfwIRPCIpMot3oC1TGI4m8dhtpN 9ZYroSddK7T/CW7AyBvtBTuDoUlV2a1Ysli2fzwxPCeS5+oIkwyNQkj7xsPu3npDRR2q FosvJJpReYq+wDXKXqOOssZ1/EbkE7xStw8oOqcBdBW9fTeeUkRZJF09y5VgwNeH+6+c ltz26UKxzqVTUlR82ThaHNsV6HsaR3FeDh82i39QHkoja9rq9Wn/fdTkInzwGp/H3UPC 8RCJ7Ci19i+Gzls6H7VtFUrutUlm5ZO8dBGlyF7r4hpHFLxFyN7J5jo1RbajWaROs19U e8hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747718543; x=1748323343; 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=siqFNQWCvueAM0VVXekArN+vDPNhJjXRQCAFGK43+g8=; b=P9mKLrST8EbOslJAzAAPRBoPmSi28Fy28kkWSIVAoAsGtY5xXMZTd/CmsWfHBNgZyu kt59qcZRlH/hgw4yM9whGG2waacj1B3CM1ZwnTEvownhO+Dogk4aCUyt+ORTr//MV8hL 1QTz23b6BTno0C0S5usFKEXBqFo3JZ36WQv6LNwhJNRbjK3XIOzC9oJCpf+WQaSNf9mj KghtrjNk0O7TLqWEL+9ddbzLA3o/JR2QLBQzqYGwDEALhYBWH1xv+8vZWSyzhu+T4VCl bVyfNsmMeysAvfQPi4gXnwF4v4gxPvxoQ0vzo5Z4IsJt04d3dq3l3yUBqEg8FEhL43oa VLSw== X-Forwarded-Encrypted: i=1; AJvYcCX0L/YBukiDBcTw1p+bfevvO6hudyrk3zNyyeSUc77S1nlUrv0+VUgw/lKCq4TxLx4LeAEllFs=@lists.denx.de X-Gm-Message-State: AOJu0YxoVt8sXkTJobKPFqFt0KVyCjS15+/KHiddgz7ib5OrxCcidG1J DMAj+qQcYCzpMm0VWIwTdcKSSJGegvDXm7WrmEJh51pB7RmqFF8gq6t3dlaP/GzhABo= X-Gm-Gg: ASbGncuV0N3ImXNbLsAHq5CQCQc9DjLrMDeDzmOkur+5N7/44PYbmFUuL2ysBzvEPya E6Y97xQdcMS6+x9GyOgMG7TG6ULI4HHpVoGeUne8CxRIuo9ijAvpZe9fBEuhMGPMpWHTvDCPCqh 8UotfEbtNg0JUnXocBJIe6y76vCU76H5JdIRhldQF2q7HbZ+33adtqbMFOJiMVVroEtisjSiSao k28EfbrPtJGYHm7N5jssfb62VV9uRNVJYX6qdmh6d264ND3voM3+0OYhRD/9M7KpKNg0TndYEfu tYxPfoEVOkEnnuNwaO9o1UXgx6AJ0kXHewipVy7LYlbpoXYiH0zCsvyrEFqsQFogKXAgmRfc6qY = X-Received: by 2002:a5d:62d2:0:b0:3a3:56e1:dff1 with SMTP id ffacd0b85a97d-3a356e1e170mr12474126f8f.4.1747718543613; Mon, 19 May 2025 22:22:23 -0700 (PDT) Received: from localhost.localdomain ([46.198.180.244]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a35ca889e6sm15100762f8f.71.2025.05.19.22.22.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:22:23 -0700 (PDT) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: trini@konsulko.com Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Marek Vasut <marek.vasut+renesas@mailbox.org>, Peter Robinson <pbrobinson@gmail.com>, Michal Simek <michal.simek@amd.com>, Prasad Kummari <prasad.kummari@amd.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Rasmus Villemoes <rasmus.villemoes@prevas.dk>, Sam Edwards <cfsworks@gmail.com>, Jonathan Humphreys <j-humphreys@ti.com>, u-boot@lists.denx.de Subject: [PATCH 10/24] kbuild: move archive command to scripts/Makefile.lib Date: Tue, 20 May 2025 08:21:21 +0300 Message-ID: <20250520052153.307194-11-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250520052153.307194-1-ilias.apalodimas@linaro.org> References: <20250520052153.307194-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Update kbuild
|
expand
|
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 73e1d71e30df..d90b0b7aa6a0 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -355,11 +355,9 @@ $(modorder-target): $(subdir-ym) FORCE # Rule to compile a set of .o files into one .a file # ifdef lib-target -quiet_cmd_link_l_target = AR $@ -cmd_link_l_target = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(real-prereqs) $(lib-target): $(lib-y) FORCE - $(call if_changed,link_l_target) + $(call if_changed,ar) targets += $(lib-target) endif diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 28295c7ff125..c441be352da1 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -278,6 +278,11 @@ $(obj)/%: $(src)/%_shipped quiet_cmd_ld = LD $@ cmd_ld = $(LD) $(ld_flags) $(filter-out FORCE,$^) -o $@ +# Archive +# --------------------------------------------------------------------------- +quiet_cmd_ar = AR $@ +cmd_ar = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(real-prereqs) + # Objcopy # ---------------------------------------------------------------------------
Backport from kernel commit 898f5a009f22 ("kbuild: move archive command to scripts/Makefile.lib") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> --- scripts/Makefile.build | 4 +--- scripts/Makefile.lib | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-)