From patchwork Tue Nov 7 14:48:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 13448920 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 614C0C4167B for ; Tue, 7 Nov 2023 14:49:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234465AbjKGOta (ORCPT ); Tue, 7 Nov 2023 09:49:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234092AbjKGOt3 (ORCPT ); Tue, 7 Nov 2023 09:49:29 -0500 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 415A5101 for ; Tue, 7 Nov 2023 06:49:26 -0800 (PST) Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-3595eb920e9so17652845ab.0 for ; Tue, 07 Nov 2023 06:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699368565; x=1699973365; darn=vger.kernel.org; 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=PaV9Hs3+cyYm1Gr06GB3mxSuR25FjGRVsz8hlTL4IWg=; b=SLmd6OCHmL8iRDmfLxrSNjWKgq6vGxWtl7F2tw6gso79aiPTjdeQBFiRACdYtEK+XX D8KUrIbt2KUrG2cle5XYYCPrchYUEi+a4O+G/VVgv5HO5TiOjtISjup8Clc7p2sPGjL0 KprcU66nsERduVKk63Egh09S3TM6Xq//awjV0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699368565; x=1699973365; 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=PaV9Hs3+cyYm1Gr06GB3mxSuR25FjGRVsz8hlTL4IWg=; b=GQF88T4nagCA1EIMzP/YPW7jcfg0lY/9yCANLzlPJ/Nl8q3wmuTA5aN6Z0gdzflNF0 WVEQVtjS8NJm3B5mWBBPx4r/aUMNMIif9fQUhQbQ6iqz+wajKmHKBkbaWpDCHx2o+XK7 rrYCWwmyo7VKQtYPwE9ekfFsG4D7ce77iLojiFrwpbf+so+k3MQiiIyWAO+MKXG2ypDe 6CxoNVz9O4lglhsMjdVOlWTT4yw4bk0AaOMYkQeZ3MhRYWtjDl72Xcobb96dik+DMHwH pmTVfS1VSMCD7iSaw9fCYg7vMJI7v0juY6t8HFxR08uocqrl8Cf4Y6nrcuzP35vlxrPh zxHA== X-Gm-Message-State: AOJu0YyagPfdKIzTQYtgv2uTdXN+VdBWqNllA31IP37k2pwZFnbU75Ry wI6AaXz1oUkgzROX4pqhD3MGyw== X-Google-Smtp-Source: AGHT+IGnmEGYuVlxI7gvheK7jw/EXDkfYArur1P02yryv5K8v6LTdN1/sV0kFS+mgJRZO7Pv54ming== X-Received: by 2002:a05:6e02:1c0e:b0:350:ef09:ff82 with SMTP id l14-20020a056e021c0e00b00350ef09ff82mr3481236ilh.24.1699368565654; Tue, 07 Nov 2023 06:49:25 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id b16-20020a05663801b000b0045a66a26208sm2815200jaq.128.2023.11.07.06.49.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 06:49:24 -0800 (PST) From: Simon Glass To: linux-arm-kernel@lists.infradead.org Cc: U-Boot Mailing List , Tom Rini , Masahiro Yamada , Simon Glass , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/3] arm: boot: Move the single quotes for image name Date: Tue, 7 Nov 2023 07:48:50 -0700 Message-ID: <20231107144917.48304-3-sjg@chromium.org> X-Mailer: git-send-email 2.42.0.869.gea05f2083d-goog In-Reply-To: <20231107144917.48304-1-sjg@chromium.org> References: <20231107144917.48304-1-sjg@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Add quotes where UIMAGE_NAME is used, rather than where it is defined. This allows the UIMAGE_NAME variable to be set by the user. Signed-off-by: Simon Glass --- Changes in v4: - Add a patch to move the single quotes for image name scripts/Makefile.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 68d0134bdbf9..1a965fe68e01 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -487,14 +487,14 @@ UIMAGE_OPTS-y ?= UIMAGE_TYPE ?= kernel UIMAGE_LOADADDR ?= arch_must_set_this UIMAGE_ENTRYADDR ?= $(UIMAGE_LOADADDR) -UIMAGE_NAME ?= 'Linux-$(KERNELRELEASE)' +UIMAGE_NAME ?= Linux-$(KERNELRELEASE) quiet_cmd_uimage = UIMAGE $@ cmd_uimage = $(BASH) $(MKIMAGE) -A $(UIMAGE_ARCH) -O linux \ -C $(UIMAGE_COMPRESSION) $(UIMAGE_OPTS-y) \ -T $(UIMAGE_TYPE) \ -a $(UIMAGE_LOADADDR) -e $(UIMAGE_ENTRYADDR) \ - -n $(UIMAGE_NAME) -d $< $@ + -n '$(UIMAGE_NAME)' -d $< $@ # XZ # ---------------------------------------------------------------------------