Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147691662
D53887.1784091161.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
811 B
Referenced Files
None
Subscribers
None
D53887.1784091161.diff
View Options
diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh
--- a/sys/tools/fdt/make_dtb.sh
+++ b/sys/tools/fdt/make_dtb.sh
@@ -21,6 +21,7 @@
for d in ${dts}; do
dtb="${dtb_path}/$(basename "$d" .dts).dtb"
+ dts_path=`dirname $d`
${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/"
+ ${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/" -i "$dts_path"
done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 4:52 AM (9 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29138902
Default Alt Text
D53887.1784091161.diff (811 B)
Attached To
Mode
D53887: make_dtb.sh: add the dts source directory as one of the include path
Attached
Detach File
Event Timeline
Log In to Comment