I am trying to compile a dtsi file into a dtb and I'm stuck. I tried
dtc -I dts -O dtb -o name.dtb dtsiname.dtsi
but it gives me a syntax error on
#include <dt-bindings/input/input.h>
I tried changing this line to
\include\ "dt-bindings/input/input.h"
but then it gives me a file not found error for "input.h".
According to this response: https://stackoverflow.com/a/42839737/6431843
using make
, instead of dtc
can resolve issues like this. Unfortunately, it seems like no matter what I put after make
it always tells me there is no rule to make that target
. According to many other posts I have seen around I should, at the very least, be able to do make dtbs
and it should work but its not.