How to make .dtb from .dts file (how to set include path for #include .. ?)
a.fatoum at pengutronix.de
Tue Feb 23 04:28:07 EST 2021
On 23.02.21 09:37, ckim at etri.re.kr wrote:
> I don't know how I should let the preprocessing kick in.
> I tried (because there is
> $ dtc -i include -I dts -O dtb -o juno.dtb
> But it doesn't work.
dtc only handles /include/. #include is expanded by a C preprocessor
that's explicitly run beforehand. Run make V=1 dtbs if you are curious
to see the commands executed.
> How can I use dtc program to make juno.dtb?
> Or if I have to use Makefile, what is the command?
What reason for doing this by hand?
> Chan Kim
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the Kernelnewbies