linux 单独编译dts【转】
作者:互联网
转自:https://www.cnblogs.com/hzijone/p/15561281.html
1、跳转到dts根目录下
执行命令预处理
cpp -I ../../../../include/ -I . -E -P -x assembler-with-cpp pioneer3-ssc020a-s01a-demo.dts pioneer3-ssc020a-s01a-demo.dts.pre
编译:
../../../../scripts/dtc/dtc -O dtb -I dts -o pioneer3-ssc020a-s01a-demo.dtb.bak pioneer3-ssc020a-s01a-demo.dts.pre
反编译
../../../../scripts/dtc/dtc -O dts -I dtb -o pioneer3-ssc020a-s01a-demo.dts.pre pioneer3-ssc020a-s01a-demo.dtb.bak
预处理与编译一起执行
cpp -I ../../../../include/ -I . -E -P -x assembler-with-cpp pioneer3-ssc020a-s01a-demo.dts | ../../../../scripts/dtc/dtc -O dtb -I dts -o pioneer3-ssc020a-s01a-demo.dtb.bak -
标签:..,demo,编译,ssc020a,linux,dts,pioneer3,s01a 来源: https://www.cnblogs.com/sky-heaven/p/15845252.html