Created
April 27, 2020 14:33
-
-
Save aaronautt/6eca227a81e1b115f4162adf22a67384 to your computer and use it in GitHub Desktop.
include dts from other directory to build dts stolen from https://forums.xilinx.com/t5/Embedded-Linux/Device-tree-system-user-dtsi-not-building/td-p/1026183
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd <plnx proj>/components/plnx_workspace/device-tree/device-tree | |
gcc -I ../../../../project-spec/meta-user/recipes-bsp/device-tree/files/ -E -nostdinc -undef -D__DTS__ -x assembler-with-cpp -o system-top.dts.tmp system-top.dts | |
dtc -I dts -O dtb -o system-top.dtb system-top.dts.tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment