Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2023 08:36:56 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 87329215f964 - stable/13 - arm: Add missing no-ctfconvert for fw_stub.awk target
Message-ID:  <202309040836.3848auCb097872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=87329215f964a3f23643ee27807b72086f159d82

commit 87329215f964a3f23643ee27807b72086f159d82
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-08-22 20:00:37 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-09-04 08:36:41 +0000

    arm: Add missing no-ctfconvert for fw_stub.awk target
    
    This target produces a C file not an object file, so using ctfconvert on
    it should not be attempted. This keeps it in sync with all other uses of
    fw_stub.awk, squashes a warning seen during the build of TEGRA124 on
    FreeBSD and avoids the same issue failing the build on non-FreeBSD (such
    errors are #ifdef'ed into being warnings on FreeBSD in ctfconvert, which
    should be revisited in the future).
    
    Reviewed by:    manu
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D41542
    
    (cherry picked from commit c9b2751d76bd5a212fedab46512abb533e9ea695)
---
 sys/arm/nvidia/tegra124/files.tegra124 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/nvidia/tegra124/files.tegra124 b/sys/arm/nvidia/tegra124/files.tegra124
index 7ec57879b9c3..640889c0b240 100644
--- a/sys/arm/nvidia/tegra124/files.tegra124
+++ b/sys/arm/nvidia/tegra124/files.tegra124
@@ -45,7 +45,7 @@ arm/nvidia/drm2/tegra_bo.c		optional	drm2
 tegra124_xusb_fw.c			optional tegra124_xusb_fw	\
 	dependency	"$S/arm/nvidia/tegra124/files.tegra124"		\
 	compile-with	"${AWK} -f $S/tools/fw_stub.awk tegra124_xusb.fw:tegra124_xusb_fw -mtegra124_xusb_fw -c${.TARGET}" \
-	no-implicit-rule before-depend local				\
+	no-ctfconvert no-implicit-rule before-depend local		\
 	clean		"tegra124_xusb_fw.c"
 tegra124_xusb.fwo			optional tegra124_xusb_fw	\
 	dependency	"tegra124_xusb.fw"				\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309040836.3848auCb097872>