tooling fix

This commit is contained in:
Owen 2024-04-29 21:04:50 +00:00
parent 00a8d48a06
commit 0c3ba1f9ec
3 changed files with 6 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
dts/dtspp/*.dts*

View File

@ -1,4 +0,0 @@
for file in `ls *.dts*` ; do
echo $file
cpp -I/usr/src/linux-headers-6.8.0-31-generic/include/ -nostdinc -undef -x assembler-with-cpp $file > dtspp/$file
done

5
dts/dtspp/precompile.sh Executable file
View File

@ -0,0 +1,5 @@
rm -f dtbs/*
for file in `ls ../{*.dts,*.dtsi}`; do
echo "Processing $file to ${file##*/}"
cpp -I/usr/src/linux-headers-6.8.0-31-generic/include/ -nostdinc -undef -x assembler-with-cpp $file > ${file##*/}
done