From patchwork Thu Aug 29 13:51:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Battersby X-Patchwork-Id: 13783295 Received: from mail.cybernetics.com (mail.cybernetics.com [72.215.153.18]) (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 B6BF01AED4B for ; Thu, 29 Aug 2024 14:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=72.215.153.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724940339; cv=none; b=HevdLFVlMoIHjn3CoeWcPPPN3dC8YEjv1vu7D8o211stHyA/u0ugo1zhQ77ypdUECgEI09roIuhMOr3JM2U4gCMaDWF47HpkkzXg4Plso+dh7Lz17o3M7JaFXfjcWUD2YHXlQWy9uYCPoafamXlZEjoZ96WscPuEzJ1mfzBMxlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724940339; c=relaxed/simple; bh=WS7AE2lZ80ktgxKFgI1HSIZKX9yTyxehsQ541Zemgss=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=qHDWnZ748+tWTNoaHeCwxKgZPuJTCkZb+wnm60xFOYm9LCPOApMJEGmnZedXUO6tjCP/+qfedcr0lg/NtIuGMH5ep6kymeAo+8UrCWctYt5+9eKmEMkZDNBZwj2UcQxz5rcDk2RMmi42WdFZiL9XDVNeKFRa4ZpjxQgDjjM0H0E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cybernetics.com; spf=pass smtp.mailfrom=cybernetics.com; dkim=pass (1024-bit key) header.d=cybernetics.com header.i=@cybernetics.com header.b=aqh0TVv8; arc=none smtp.client-ip=72.215.153.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cybernetics.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cybernetics.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cybernetics.com header.i=@cybernetics.com header.b="aqh0TVv8" X-ASG-Debug-ID: 1724939577-1cf439709d530220001-Th18ZX Received: from cybernetics.com ([10.10.4.126]) by mail.cybernetics.com with ESMTP id LgcrnbZSKlfGqkXR; Thu, 29 Aug 2024 09:53:19 -0400 (EDT) X-Barracuda-Envelope-From: tonyb@cybernetics.com X-Barracuda-RBL-Trusted-Forwarder: 10.10.4.126 X-ASG-Whitelist: Client DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cybernetics.com; s=mail; bh=Fn9M4a8qPT1jW0s9JHYJms7eiaAIoJs0KI1NmmFglss=; h=Content-Transfer-Encoding:Content-Type:Subject:From:Cc:To:Content-Language: MIME-Version:Date:Message-ID; b=aqh0TVv8DopVDHFyZSPRh8FeqaPijV5iAejsBrDE2c/+M zaCc5AiCQD5oRyyZod0ZrLb8RkACPAy3W25dMSPCQVQ1uprwoTxkW2Vqw7ZfVxz266AmF1qWoKWAK vbO5ZwxOnSwHp0uplHQqZ8IzzJ3PuxiBB5EHjMcU5Vng7vxbw= Received: from [10.157.2.224] (HELO [192.168.200.1]) by cybernetics.com (CommuniGate Pro SMTP 7.1.1) with ESMTPS id 13430318; Thu, 29 Aug 2024 09:51:25 -0400 Message-ID: X-Barracuda-RBL-Trusted-Forwarder: 10.157.2.224 Date: Thu, 29 Aug 2024 09:51:25 -0400 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Masahiro Yamada Cc: Nathan Chancellor , Nicolas Schier , Daniel Gomez , linux-kbuild@vger.kernel.org, "linux-kernel@vger.kernel.org" From: Tony Battersby Subject: [PATCH] kbuild: remove recent dependency on "truncate" program X-ASG-Orig-Subj: [PATCH] kbuild: remove recent dependency on "truncate" program X-Barracuda-Connect: UNKNOWN[10.10.4.126] X-Barracuda-Start-Time: 1724939599 X-Barracuda-URL: https://10.10.4.122:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 0 X-Virus-Scanned: by bsmtpd at cybernetics.com X-Barracuda-Scan-Msg-Size: 939 Remove the recently-added dependency on the truncate program for building the kernel. truncate is not available when building the kernel under Yocto. It could be added, but it would be better just to avoid the unnecessary dependency. Fixes: 1472464c6248 ("kbuild: avoid scripts/kallsyms parsing /dev/null") Signed-off-by: Tony Battersby Reviewed-by: Nathan Chancellor --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 3e9bff3bbe1355805de919f688bef4baefbfd436 diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 070a319140e8..c27b4e969f20 100755 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -215,7 +215,7 @@ kallsymso= strip_debug= if is_enabled CONFIG_KALLSYMS; then - truncate -s0 .tmp_vmlinux.kallsyms0.syms + true > .tmp_vmlinux.kallsyms0.syms kallsyms .tmp_vmlinux.kallsyms0.syms .tmp_vmlinux0.kallsyms fi