Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2013 19:55:52 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   static dtb build dependency
Message-ID:  <1360119352.93359.547.camel@revolution.hippie.lan>

next in thread | raw e-mail | index | archive | help

--=-Tz84sQl7q56J1EFmNX3v
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I keep getting burned with option FDT_DTB_STATIC and changes not getting
compiled in after I edit the .dts source.  The attached patch seems to
fix it for me, but is it the right way to fix it?

-- Ian


--=-Tz84sQl7q56J1EFmNX3v
Content-Description: 
Content-Disposition: inline; filename="static_dtb.diff"
Content-Type: text/x-patch; name="static_dtb.diff"; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Index: sys/conf/files
===================================================================
--- sys/conf/files	(revision 246337)
+++ sys/conf/files	(working copy)
@@ -1293,7 +1293,8 @@
 dev/fdt/fdt_common.c		optional fdt
 dev/fdt/fdt_pci.c		optional fdt pci
 dev/fdt/fdt_slicer.c		optional fdt cfi | fdt nand
-dev/fdt/fdt_static_dtb.S	optional fdt fdt_dtb_static
+dev/fdt/fdt_static_dtb.S	optional fdt fdt_dtb_static \
+	dependency	"$S/boot/fdt/dts/${FDT_DTS_FILE}"
 dev/fdt/fdtbus.c		optional fdt
 dev/fdt/simplebus.c		optional fdt
 dev/fe/if_fe.c			optional fe

--=-Tz84sQl7q56J1EFmNX3v--




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