mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
make_dtb: Always add root directory in the include path
Some arch like arm and arm64 share DTS files, add the root dts directory to the include paths.
This commit is contained in:
parent
c3f6b2cf9f
commit
5695558451
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338246
@ -21,6 +21,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/gnu/dts/include -I $S/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -include $d /dev/null |
|
||||
${DTC} -@ -O dtb -o $dtb -b 0 -p 1024 -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE}
|
||||
cpp -P -x assembler-with-cpp -I $S/gnu/dts/include -I $S/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -I $S/gnu/dts/ -include $d /dev/null |
|
||||
${DTC} -@ -O dtb -o $dtb -b 0 -p 1024 -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE} -i $S/gnu/dts/
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user