Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp412002lqh; Fri, 31 May 2024 05:29:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXHjGu01BVlVq6l6ztjWOwtSPfZ9Qr/8+iu+o1h1cwSYvbt2i24MELS43iXkwHPJYylo+KDsxC5CvogN2vpAFApOnP3ZgLXKrZLhLQuw== X-Google-Smtp-Source: AGHT+IG2AO61EsRsami4Rpm+o3Ky/SIAoFCsx144GOGz4n72ZLQi/IpoPReeQyQB8PSD6ulrAbvv X-Received: by 2002:a17:902:db08:b0:1f6:326b:cde0 with SMTP id d9443c01a7336-1f63701ec3amr17872965ad.31.1717158591089; Fri, 31 May 2024 05:29:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717158591; cv=pass; d=google.com; s=arc-20160816; b=QCWe38SYs+kXXJmiFWBwFcXQ6CzczkWaUb+r5ZhdNvY6eiAEe9DU5xJD3QmuyyD9Ra KFHtVsjeN8YBuQkRM6kViNBu0vI4fJqJa2g/KYiBML9RGOj7iwUXANr9Kwpbillk7DzS nlIM0bUb7jWd6hhEIDiSysfeIwr8COJ9eleBrgMUexpGMWYdelt+ngg+nwPYi/jhnKp8 iTKDupGSWOIbHPd963b7Jvs18eaHlRD21D1bG6fpfC7LO9PHOL7pXKigkpqKdJS+4XVi t7zQw+WY4OHqt12Sh1NaTwjEiYw0NVvqzehfN80oDjkA9zRvJXNqEhYQl+D20+tqJZjl zErg== ARC-Message-Signature: i=2; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=9cJVK/YDr5EGvGBMPJSUEUEgUQB7BN7WBlrCfdsJVSM=; fh=Holx/gsvO+HQsywX+F3JNZNWvkftjXvD+Yg8VWBHNAk=; b=MKWCTYu2KUSd7psh/lJPbKWkJT5/GTWjoYpps+3gxL8OS0kTUenJh5+TIGJxBDB2US 9U653I9Ef0WEkvCy3EyAgZzAttlDSvDM+RrnvToVPumIHJVWcF8dvp5avqcKxR05GU8U MJk2dpFvaf/2aQoM/DauXddoifCnIWvMuk8sEK/pxbOAMURWh/aBzcQ4kG11XF+MMdV7 WPyc9ELHseCy3H+HZBbqW7U1KpHZV9vXCrZR8UuHv4Rb7DdntjA3zTNycOTrswCLX7oo vLO3U2VuVnz8+nwPbOkVKRywa71tkp3DMl5gGd88PzYCO9cWKnazeSkY9IwWuvLlUeEZ yLrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJYZLkhM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f632415781si14708045ad.559.2024.05.31.05.29.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 05:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJYZLkhM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196775-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 067A7B2531C for ; Fri, 31 May 2024 12:28:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46C3F1586CD; Fri, 31 May 2024 12:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sJYZLkhM" 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 6C40739FF3; Fri, 31 May 2024 12:28:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158512; cv=none; b=r1GkvGor21jm20BKC9nuPmguaHno2fKU94e22wjbuqEBPvvO+3Z6NrvoHgocenUrWZFPFrInup9OfSwd+0FJ+Ag9ZWBb0FVYBDeMdzxwsmv1KaaM4DWGdvsw0L7vRxEmim4IzDV6+3ioEOGShxp1JiC8XsG4huYiTV+tN//VzF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717158512; c=relaxed/simple; bh=z4ruzD56OZPWPzQYpYgTNc4Tq1V0MYMO9wYsXWqIpKI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=QL37CU81G5gXOm7sle3XAGanifLbLikxI5TC5hPPsxzkEyyAFVm9hutJnsogul2qQ8UN+j9JUn0G4nEgcDz8ghzNTkNbDVFoylWRHJBHVk6ZkXQmIkwRhZxq5b6ImNAxi/GRXJMrsYeHfYA3rXz55ZAX9QKpi67aUaPPM3Y6th0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sJYZLkhM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5F1BC32781; Fri, 31 May 2024 12:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717158511; bh=z4ruzD56OZPWPzQYpYgTNc4Tq1V0MYMO9wYsXWqIpKI=; h=From:To:Cc:Subject:Date:From; b=sJYZLkhMsPzY5OGXDbm/gd0vcmG3lgyvt+C0ripDS2x66QuN6Sg9QGcTSZnB8ehZH guptbHgKhMvpghLd6TMQ6VUcQFqM6fzPJe1UG++2heMUL+YXWxqeFez3rHPrL1ytek bi3EjU73JE9LrYjyWmd0CimGr36lLfQnDEFfaJLLnQwjWzOXTUMXsYesI3YXsJf0Ck pRw0TiYJSds6n4wpUDNsz1jGRLWPlEuYUcfz7oxmBNwtfQ61Q3kqrTaTlj0O/Fmg0k jM83pk/V7HoguzYFuBGsyprdEt3EZ74aA8Gunwflg6DNks+cEf3334SzyollguYisT ov88nLSw1hCqA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nicolas Schier Subject: [PATCH] usr: shorten cmd_initfs in Makefile Date: Fri, 31 May 2024 21:28:25 +0900 Message-Id: <20240531122825.699771-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Avoid repetition of long variables. No functional change intended. Signed-off-by: Masahiro Yamada --- usr/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/Makefile b/usr/Makefile index 132ef7e96e6d..75224d927025 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -62,9 +62,9 @@ $(deps_initramfs): ; quiet_cmd_initfs = GEN $@ cmd_initfs = \ $(CONFIG_SHELL) $< -o $@ -l $(obj)/.initramfs_data.cpio.d \ - $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \ - $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \ - $(if $(KBUILD_BUILD_TIMESTAMP), -d "$(KBUILD_BUILD_TIMESTAMP)") \ + $(addprefix -u , $(CONFIG_INITRAMFS_ROOT_UID)) \ + $(addprefix -g , $(CONFIG_INITRAMFS_ROOT_GID)) \ + $(patsubst %,-d "%", $(KBUILD_BUILD_TIMESTAMP)) \ $(ramfs-input) # We rebuild initramfs_data.cpio if: -- 2.40.1