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: 13448917 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 5E6A7C4167B for ; Tue, 7 Nov 2023 14:49:57 +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=KgB9wlaFNtswdUuAVQrtuYRYRQ9LxXPBTgb7THiGtAc=; b=Y7g1FcIlSjk1hz px8Domfx99DAccI2FBPLqjdldJB/SwNTqyXkCkvZFzBJkhPPwqo3cIRMcdTDAZLyftHBSCQcHBTLN dPxJKfMCOFPPALBj8u4GmTOHsndb6g6dD826f+Dra1cxHcIeOJnd5yl779829tPXfEkjGtQpyQ7l3 cDKDBxRHNeiaFasoYpMyJLOn0rvTvxT04HYtYSSjuozwEBCWHlsV6ZXyadMYvWNi09sKKgaLwL4ob af8y/q1EQ4nnEY5Vrpi3qkzPyV0YFl7T3YDuvk4XL0J9R/2b5w6C36LOrUaNtBsXue3vo43PFgj3B 3wII516oNm3H2aeNhCZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r0NOX-001l4N-1f; Tue, 07 Nov 2023 14:49:33 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r0NOT-001l1Q-1Q for linux-arm-kernel@lists.infradead.org; Tue, 07 Nov 2023 14:49:30 +0000 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3594cb642beso21544275ab.3 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=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=PaV9Hs3+cyYm1Gr06GB3mxSuR25FjGRVsz8hlTL4IWg=; b=aOWMrE+iH3RBrpNas1F79hPwSYxfAfJKwTbjF4gcxbDMTC4lwNJDobbs0EBCPL776h WfwyVq9q3WaC+Py7s1mSPDNagxpA82+Sh8ROtn256tGDgvb75mopymFvvV+0JsEfRuT/ mE9VY3FrXJ6ZV3qBhoswy8UmolD051ubPW4D4= 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=APJ8YjYE0U2XRlVfZrPzQAzkVyHS074/0JiRI0VcGvob6phJPf6RWgkEAZjvRAGBC2 dN4ffQDpy9VLBfFsipNuNt0NMx6hlIhPmdbBu+DMGrPmK8vHarvsyq/qeulIP553Yf64 BsupnlamLPQuLC2EHN4wEbH4wlv8jJnSvAgd0vkGqli1Pw2Ed8UeRhugNP1BoQXQWxlU vzmHJ8ESDXMXhECM2VnbVh0Xjm+Bx7J0ParlrupQReApeK491Ztc95zZekrNLRhm10Fv wzwVW8fBaU/vJhvY6snUTIeZ0xTt8ddG4+OUijSm3Qfav8A881q+kSy/J59UI0R0LOv4 7qZw== X-Gm-Message-State: AOJu0YxNH+WR18FX52AwCioAkaj8wa3vDKEdTFjt2rLJiZOdxKEphaOo npPkWYE4IWzOLi5TIkXFrUlZdlYZep6H0h7FMOW2Zg== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231107_064929_481588_087F49A2 X-CRM114-Status: GOOD ( 13.19 ) 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 --- 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 # ---------------------------------------------------------------------------