Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp426927rdh; Tue, 19 Dec 2023 03:18:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhype9ZrpdFJNWomH6dB0zKwn/WwcTn7cbT8h8wHvSv8gCaML/FIIXlPVSAb8BCbpjw2xr X-Received: by 2002:a05:620a:19a7:b0:77f:8d69:c50 with SMTP id bm39-20020a05620a19a700b0077f8d690c50mr15665542qkb.14.1702984739716; Tue, 19 Dec 2023 03:18:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702984739; cv=none; d=google.com; s=arc-20160816; b=hujFN4UlzxVJAdGZg0L6bBRifXwE+MpB+i1BkUzPgcdau4aKB7jjr44cfEKwKmK7Gu 56wjYtPjS3dRmjTZaXLvImObKidhjX262gGac4KCW5As+ZFEKIux7RM5Irn9lJgALgZf dXHqnO+sHYR0S/2QUEvwtn1QmWO5Vslx78kVultpVFVGUD+hj1JhbCOJPjt1LfL9J/t0 bSbsqp0zis05aC8A4QX+dtKbmQvwEgWzwf2+V0fDx9M88+CQCsl+9+63X4I3FTZQcq78 +kNs2TiQwng95tWA7W9YJd4kPd2Od+HQD46KCTJYrxuZ4/AmZBlpwW8T/bKkwMdFYYD0 e0Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ObzraNHcj/3HoorejU8w/InD5KD7jJrbyW3t2Udn7p0=; fh=JsexY46XTr7xgwE/k4mpKk9GsqCQUiSuDSUcZqs2rSA=; b=y2UG08AiknGYvY08OgGw11s6d1VIS3iVV6P1Uh5UPZs5b4g2+I1u7aRDardCTrak66 JGwvESGLeUX0GCpXPg1bM2ZzTICRne6b39O7/B4QMRKUNxUqKTpkunxesjtfkFANNVBi 9G2vcrAzaZsmo9q1jKPQxKf56oSXD8zZzVQRPnMzWPcKXS2Mr+gd0Jc4Q6Q8ioehhiyM WepACN1CFSEaJsTlFsbvXDQ//9Uy3GMIMYFpN95EsE3Kpup0xml27qCJpB+f6qIcYMCn l1UYOyZtotZ7nTfUn4AVXX5LbEw9o1D9n0cTeVADzgKfzu3vb9Pyd2Z1tktDAKBOL7PC vITA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2wg9Ks5; spf=pass (google.com: domain of linux-kernel+bounces-5066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v20-20020a05620a441400b0077f0bc02399si26636116qkp.411.2023.12.19.03.18.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 03:18:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2wg9Ks5; spf=pass (google.com: domain of linux-kernel+bounces-5066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7C08B1C23AC9 for ; Tue, 19 Dec 2023 11:18:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B472F154B6; Tue, 19 Dec 2023 11:18:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d2wg9Ks5" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C262D168C0; Tue, 19 Dec 2023 11:18:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A667C433C7; Tue, 19 Dec 2023 11:18:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702984723; bh=yl0m/eWPjphXiy8uk34FxNH5HtArYrpYKC04XRSsfqE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d2wg9Ks5Mj61RI6kz4yht9d22GwNbzvbWhFeg2ygHnARyRA7EabKyH5akS6wNnhAs g0pobqzaPHBU13lI3R6XM75d9Meovlblf+D7qENndRPUwWZzzproFO0+clSl60SPIf Yr4IoUMwZh19QrEJ/1Dt16OflTObeVwUpSmp4Wrd+p2QWDMa9OAX9mmvTnowd9lyxn EORZDy8LyhLZBnPo+/Ygdks/yaIBIYy7p4kw1zshx+sFzj9syZ7qD3a19SfGQfNVBU tYbvOqo1vUYvn506THzCoM8jDUr86MHfT4jGDHDP8JC1pOVGLRticHzKLiPJiIr2R0 3c/qVFbtMiAMQ== From: Will Deacon To: Ard Biesheuvel , linux-efi@vger.kernel.org, Masahiro Yamada Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] efi/libstub: zboot: do not use $(shell ...) in cmd_copy_and_pad Date: Tue, 19 Dec 2023 11:18:31 +0000 Message-Id: <170298016046.1509472.12688198177716250949.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20231218080127.907460-1-masahiroy@kernel.org> References: <20231218080127.907460-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Mon, 18 Dec 2023 17:01:27 +0900, Masahiro Yamada wrote: > You do not need to use $(shell ...) in recipe lines, as they are already > executed in a shell. An alternative solution is $$(...), which is an > escaped sequence of the shell's command substituion, $(...). > > For this case, there is a reason to avoid $(shell ...). > > Kbuild detects command changes by using the if_changed macro, which > compares the previous command recorded in .*.cmd with the current > command from Makefile. If they differ, Kbuild re-runs the build rule. > > [...] Applied to arm64 (for-next/kbuild), thanks! [1/1] efi/libstub: zboot: do not use $(shell ...) in cmd_copy_and_pad https://git.kernel.org/arm64/c/97ba4416d6dd Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev