From patchwork Sat Nov 11 00:28:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 13452871 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67DD8C4332F for ; Sat, 11 Nov 2023 00:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z5RzjDbhzAKOWbxB4825F2QKdXj2kHAT3UKzuJ8Eva0=; b=v59RCagOBW+ppB FezSVgHHUv+nKuueY53hTk1qlu+5mo5TCdtWTzO3bAcJVjo5fonU4jPQqzr6zF030f1qmDi9P+Rxo 4M/OiKM7OoBPc+J3RtjxIWgQWAaBvFV8Vi92NaAacdINC/+4E77rRagQ43nZRkPluVWiC2GYZWDZ1 KSlTdH3RRfrn0pkB2sZNCizucKjSFKdrfiFY511EkbBbV9WxyuHudBj2FufwjnTkkvvJ6AHzaIj/M cxk0GS+db8cRwHLh+0hCnx6hte1Bt9OWpjhJsC+/AwZ+1sOzIfSFzIO8yVkeCkLf/5ooa5PU7y7d8 rVKM+KsIUYaq7lz342Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1bsb-009jAQ-2e; Sat, 11 Nov 2023 00:29:41 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1bsW-009j8I-2l for linux-arm-kernel@lists.infradead.org; Sat, 11 Nov 2023 00:29:39 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id 6a1803df08f44-66d0760cd20so22174916d6.0 for ; Fri, 10 Nov 2023 16:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699662575; x=1700267375; darn=lists.infradead.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=dMe27PCpSGrpKy6akin6UXrBQxmCtSQz/w0mkm8+aO0=; b=CRsxCGHCAxx/fN+IZzuKsvobUpPV1elaIbKBE/fYJf0jNAPSPszDRsyXKn/MB7XVXO /2LCPAZc1fc6UufCpgyUs+0c/ndHGNhqv0O8lOGnW6aRcGHFt8RVk91FIZsjLzTSskmG wkYt8D5tzXb9hHGmtS6/bVxKzhZ/C+W4StkuU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699662575; x=1700267375; 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=dMe27PCpSGrpKy6akin6UXrBQxmCtSQz/w0mkm8+aO0=; b=MpWP/n7mMVWjg9fAY0698eLA+H23f4KWE+OiQCsHOjzurEA6b5QaPV8jHhGcZnhHbN XUxWGCadwuNcG3EBOo8yyidnZ3ZbA5F8KSGOzGqlwt8av8Jr+ySOGoajqc8hAnxYkHTq ZsVwL3KYmD0KN3SAhhRWdmMVXyau+1mwG6GXBqThUrw8XjdMTRD6ADybPCWCrVltZh7M 7lD4zNRa3W34jSeXNt7UnEBETUj/ar+0TE8rliYbb/QPI14Z+FBBToRwVZ56EZqYAavQ rG61dSlDZbSIuMxnkFgWJ/yioHIvXHhd1YqqCpeICjsRIFX7rjGtSs4BhKWX21GUcLWF QgZA== X-Gm-Message-State: AOJu0YwYzIM/5KAJW5GC6Pw4WLfhWRp58F3VXaPkGeDzrX8lmzfZnAO3 sPrqO/Vq59sAw7ANU1YiEpeuozCPgGL4jE9UmsXwpA== X-Google-Smtp-Source: AGHT+IE0a/VdrtgvwTmIbRQLeoUJHTOtRwQJiuZK5PAG5tzmD5AD8V4FRMa71Q4svxolT1LcdUmEbg== X-Received: by 2002:ad4:4e6d:0:b0:670:ba7c:938d with SMTP id ec13-20020ad44e6d000000b00670ba7c938dmr1203791qvb.25.1699662575054; Fri, 10 Nov 2023 16:29:35 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:5104:5a27:f95d:21d1]) by smtp.gmail.com with ESMTPSA id l16-20020a056214029000b00677adcfd261sm55898qvv.89.2023.11.10.16.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 16:29:34 -0800 (PST) From: Simon Glass To: linux-arm-kernel@lists.infradead.org Cc: lkml , Tom Rini , Masahiro Yamada , U-Boot Mailing List , Simon Glass , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: [PATCH v5 2/3] arm: boot: Move the single quotes for image name Date: Fri, 10 Nov 2023 17:28:01 -0700 Message-ID: <20231111002851.1293891-3-sjg@chromium.org> X-Mailer: git-send-email 2.42.0.869.gea05f2083d-goog In-Reply-To: <20231111002851.1293891-1-sjg@chromium.org> References: <20231111002851.1293891-1-sjg@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231110_162936_889782_311E65C4 X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- (no changes since v4) 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 # ---------------------------------------------------------------------------