dgibson / dtc

Device Tree Compiler
218 stars 130 forks source link

Some build fixes #79

Closed elmarco closed 1 year ago

elmarco commented 1 year ago

Those few commits allow dtc to be built by qemu with a simple dtc.wrap file such as:

[wrap-git]
url = https://github.com/dgibson/dtc.git
revision = tag-or-sha1afterfix

[provide]
fdt = libfdt_dep
elmarco commented 1 year ago

@dgibson any idea why?: fdtget-runtest.sh "MyBoardName\0MyBoardFamilyName\0" -tr label01.dts.fdtget.test.dtb / compatible: FAIL Results differ from expected

dgibson commented 1 year ago

I've cherry-picked patches 2 & 3. I'm not really happy about patch 1, see review.