From nobody Sat Oct 29 16:33:57 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N04jx5Rbwz4gG3q; Sat, 29 Oct 2022 16:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N04jx4rZLz4114; Sat, 29 Oct 2022 16:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667061237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FiADpNuFVG8UiiOwQeE3P5yfpNNTE+F/Rg3QLy0hV6A=; b=VoN069xX6fw9NnL1UDXRd+DYVDeZ5jrOSAjXCOx+f4MI1Y+DqCqv6+oSHX8IA2OIxRIdVH yma/z/UORcqCUgYo2NjRarG90Ke4ybnDGhLxDOVLgdd1Y2YxNHLNtYDGi0IEfBjbZXGhlm ywNyrhbU6QuPaV4fwdCAIKdmJHFoqN/oC2UpFzSe3cZJeGNH9pW8PsiWVOeHWqYXiDUyqg vyBk/nOLEdXg4227NUn4orFhikibMX0NVktwBXOtl8nrWN+OV9W7Jfy8qvgQ/5crzumhOA MLaMOUL2vBGtIs0GcqZM3Il5O2L+u4PBfc5mFIEJYJLcF0aF5xQTLp/WnrwIvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N04jx3Zx9zPMb; Sat, 29 Oct 2022 16:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29TGXvVZ076649; Sat, 29 Oct 2022 16:33:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29TGXvwx076648; Sat, 29 Oct 2022 16:33:57 GMT (envelope-from git) Date: Sat, 29 Oct 2022 16:33:57 GMT Message-Id: <202210291633.29TGXvwx076648@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 25b1b63dba21 - main - dtb: Be much less verbose in the building of dtb List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 25b1b63dba21e7d4fd511beffe6751b6402d44ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667061237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FiADpNuFVG8UiiOwQeE3P5yfpNNTE+F/Rg3QLy0hV6A=; b=s36lN6wHzoFUuFzqo+z/5laogyKuLjmXEQIfvfTKKQMUXWaV7uGanCDa2Fr7p2onqyCMvt /qwc9nEmbPBSexlDHI3+Ztsaqc8Ksu1p6EyWTRzLCi6BR5ULwNHuy5z1D6H+ZElmtMwLtR 1n8ag1yPGiVLrvvNhJ2M4K+uV1vp8jShRuDXBGZTZlFT1UnKvtXvx3AU37S6kbLvpCWyRg O1gCPnnDOyB7OHncXe8s3+NyQU9gufrzvtOPvBQmUPpmkZTNISyN5jHuT3QWg6t02g1q0j f9hqAI5z52rdUwa6SEuD4fhZtCFF+yPJwPMtmkebJ07+V7nafh27Ru++MMcApA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667061237; a=rsa-sha256; cv=none; b=FNQtok8aEKYM/+CpHnVOt/0ocyYCbXJ1YRekuAyr7f2n4ulN1+5kzL/0TwQPSbiz11icLA bNzVe0qn25Scn3Vhf4lQ2TL3A52T33G9nlE1wMWIxv4QbIqb3kUOguqTq3QvfMLaWyqg27 Nh/tHymU+vCX3XuNK6CwZgxfBXzPDQDaCU+LVRz+QvKJIZUlPblMFay7CIesuHKx+xItY3 1KeLAo8Io1wylAlv4xTS6D/dDGBY9Tqj1phFCXzqPLpTVdIpsbFpTh5aOj+qz44Ab1OBA+ ndLVouQwheLVYDf2zplOAnmzOGBuutHqTc/nooJGW+aIXllT3C4GlVmGxaTHHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=25b1b63dba21e7d4fd511beffe6751b6402d44ac commit 25b1b63dba21e7d4fd511beffe6751b6402d44ac Author: Warner Losh AuthorDate: 2022-10-28 21:42:58 +0000 Commit: Warner Losh CommitDate: 2022-10-29 16:13:54 +0000 dtb: Be much less verbose in the building of dtb Make the dtb/dtbo files with less noise. Remove echo statements, but add back the call for the non-meta builds to replace the removed noise. Suggetions by: jrtc27 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D37073 --- sys/conf/dtb.build.mk | 6 ++---- sys/tools/fdt/make_dtb.sh | 1 - sys/tools/fdt/make_dtbo.sh | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/conf/dtb.build.mk b/sys/conf/dtb.build.mk index 8d106615822f..83ee03943e16 100644 --- a/sys/conf/dtb.build.mk +++ b/sys/conf/dtb.build.mk @@ -38,12 +38,10 @@ DTBO=${DTSO:T:R:S/$/.dtbo/} .export DTC ECHO .dts.dtb: ${OP_META} - @${ECHO} Generating ${.TARGET} from ${.IMPSRC} - @${SYSDIR}/tools/fdt/make_dtb.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR} + ${SYSDIR}/tools/fdt/make_dtb.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR} .dtso.dtbo: ${OP_META} - @${ECHO} Generating ${.TARGET} from ${.IMPSRC} - @${SYSDIR}/tools/fdt/make_dtbo.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR} + ${SYSDIR}/tools/fdt/make_dtbo.sh ${SYSDIR} ${.IMPSRC} ${.OBJDIR} # Add dependencies on the source file so that out-of-tree things can be included # without any .PATH additions. diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh index e1a2fa4b1d8a..728faa02b904 100755 --- a/sys/tools/fdt/make_dtb.sh +++ b/sys/tools/fdt/make_dtb.sh @@ -22,7 +22,6 @@ fi for d in ${dts}; do dtb="${dtb_path}/$(basename "$d" .dts).dtb" - ${ECHO} "converting $d -> $dtb" ${CPP} -P -x assembler-with-cpp -I "$S/dts/include" -I "$S/contrib/device-tree/include" -I "$S/dts/${MACHINE}" -I "$S/contrib/device-tree/src/${MACHINE}" -I "$S/contrib/device-tree/src/" -include "$d" -include "$S/dts/freebsd-compatible.dts" /dev/null | ${DTC} -@ -O dtb -o "$dtb" -b 0 -p 1024 -i "$S/dts/${MACHINE}" -i "$S/contrib/device-tree/src/${MACHINE}" -i "$S/contrib/device-tree/src/" done diff --git a/sys/tools/fdt/make_dtbo.sh b/sys/tools/fdt/make_dtbo.sh index 1fcab87a6465..46066019751f 100755 --- a/sys/tools/fdt/make_dtbo.sh +++ b/sys/tools/fdt/make_dtbo.sh @@ -22,7 +22,6 @@ fi for d in ${dtso}; do dtb="${dtbo_path}/$(basename "$d" .dtso).dtbo" - ${ECHO} "converting $d -> $dtb" ${CPP} -P -x assembler-with-cpp -I "$S/contrib/device-tree/include" -I "$S/dts/${MACHINE}" -I "$S/contrib/device-tree/src/${MACHINE}" -include "$d" /dev/null | ${DTC} -@ -O dtb -o "$dtb" -i "$S/dts/${MACHINE}" -i "$S/contrib/device-tree/src/${MACHINE}" done