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: 164037 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp1469810vqs; Fri, 10 Nov 2023 16:30:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGK49MOV0XIWZciEDz71UhK8g10o3TKBohrUysDvRE345hdlrkQ5luiQ4cCImjIpd3Jv/Lt X-Received: by 2002:a05:6a20:4418:b0:159:c07d:66f0 with SMTP id ce24-20020a056a20441800b00159c07d66f0mr977648pzb.6.1699662601260; Fri, 10 Nov 2023 16:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699662601; cv=none; d=google.com; s=arc-20160816; b=X2t7NtXY8mS5P+fXDFWJP8hx21Q32uO1cKo7zv/ab++NkECU9rpjjz5wpOwglNmtgT BL9rLMWV/1LPyvkmcVZmTRAro/szwNXs9rLkWCjuw/y68NFUIOLrLEkFD/d7SPFX6mI3 zrOglQNka8RJSP1+E7puUcHjxt96dSdJlxZhVfGFjJcBPuLs66+wD0DxLbtfvK9FYMFM /nJAPGg10MQ8uSIIYB2ST4bJGyFBu4ipRgoht2tyEqoYrT87shDeO8JvM1Pd4FIgc1a/ xlv+RG3QBYCJSDyCi3lG/jSq4ZnRefmDc3J7tO4yqzWuIrLWAknwnZUtVHTRRFnWKNfm 0Xtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dMe27PCpSGrpKy6akin6UXrBQxmCtSQz/w0mkm8+aO0=; fh=76YcXYkwCkrrOmEqPlOzLjAKFfXhY9Nad2p8cdg93+w=; b=kByjlIGRSBmq+wp0rSb2hEtqFV7CSo40G4JgoUCT5pXsrmXJ/FmHTFdHN1DzFjNIul b3qoeGUCcrSVAqgshTcXQvikl8QmJcG+BqNaYvIkWRkEAlJ1d1VItYRYZY9obMFJdGHM CaxGQHloyeziHBkhyOnlNUb5Li3r/GhA3/dPhkYPmmrmJGiJwVuJQDP3Q/VF7H0usQml PxLCDSx2uLEbJBlzEFhFT9TUpYJ4YjelhAIUCu8gupmcaOGV4bOLdVKiS3tgQ1vXagyh ykf4HP2ISS3vHSmH8R5QBnU9NauXJiVcQxidLYxKfDqd+gR3yetpUdOxAafughfFQpE+ RpRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ByWIc5KZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 11-20020a056a00070b00b006c21aeb4041si591155pfl.125.2023.11.10.16.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 16:30:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ByWIc5KZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 04F1383D0FF3; Fri, 10 Nov 2023 16:29:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345037AbjKKA3k (ORCPT + 29 others); Fri, 10 Nov 2023 19:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345003AbjKKA3i (ORCPT ); Fri, 10 Nov 2023 19:29:38 -0500 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3A893C39 for ; Fri, 10 Nov 2023 16:29:35 -0800 (PST) Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-66d0f945893so22003046d6.1 for ; Fri, 10 Nov 2023 16:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1699662575; x=1700267375; 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=dMe27PCpSGrpKy6akin6UXrBQxmCtSQz/w0mkm8+aO0=; b=ByWIc5KZlNlmBIPWwJcgT983Yq9tWUr/KFSiBxanH4vHTBB4WGPQMvsSgrgFr4s1WK CPkuT5sAeDsk6xRLNjHENt5wN1pxV7Zudq1O93U3MbiVyiKE/E7CRZzjAqXYAPcmGZ2D wQnHuSe4VbJhXZfJvPRAsKl8iSIQcbO9nKVhc= 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=TF+TLrxP16IRojHMvOmJssjYWFUECQPBb1LPav/UZPEe3J2fXAYLHxqOtIeDBXKEP3 hQ0RtAVF8/9hHXbcz0iQ6s/6yoYQ9fPlxhuYI8QIuHaokA7moQlNg1m9OD5PNrsTPja7 ImMflijbk/PXrbOl9zU91HEwtaVgcC3XRpFM81jlHWS7vRHQm2IM60DLdbtCuC899+Hm Kg438I4M4hCDCs9WjcibSArdl3mjnsHnc7j/RPtLj/QFSppxvV7VQU5qK8Fz4CkS0Qv4 PWlzI22d9gxXRd1862VEPA7HVs4aLBtHDDFJf76sXCIquYbtsrHPztu+ydV59aTaHtAG IUCg== X-Gm-Message-State: AOJu0YzLtG7uYPfFmhB+urnVd/i3gCii/GoYDlyRBFT0NqLxThxCqAtN cXbupdAEbC0rcVopfAx0VRHtYQ== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 10 Nov 2023 16:29:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782225412020986017 X-GMAIL-MSGID: 1782225412020986017 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 # ---------------------------------------------------------------------------