diff options
author | André Draszik <adraszik@tycoint.com> | 2017-09-20 10:41:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-25 14:14:03 +0100 |
commit | 335fc50cf54e47db4e3d5c35a9846484faf0270f (patch) | |
tree | 85392bedbe1a82d4a99bde3e71169185d1698110 /scripts/lib/devtool/build_sdk.py | |
parent | ecc116603079b45b1fa69c3d4537b19b28707859 (diff) | |
download | openembedded-core-335fc50cf54e47db4e3d5c35a9846484faf0270f.tar.gz openembedded-core-335fc50cf54e47db4e3d5c35a9846484faf0270f.tar.bz2 openembedded-core-335fc50cf54e47db4e3d5c35a9846484faf0270f.zip |
kernel-fitimage: sanitize dtb section name (unbreak MIPS)
We can't build fitImages for MIPS any more:
| Error: fit-image.its:21.27-28 syntax error
| FATAL ERROR: Unable to parse input tree
| uboot-mkimage: Can't read arch/mips/boot/fitImage.tmp: Invalid argument
Since commit cd2ed7f80b555add07795cc0cbaee866e6c193a3
("kernel-fitimage: dtb sections named by their filenames
and one config section for each dtb"), commit
1ec405ef5df82884c8997878bbe6c66d924b5127 in yocto, dtb
sections are named by the DTB filename, but the filename
can legally be in a subdirectory below
arch/$arch/boot/dts/, and on MIPS all DTBs are actually
in a subdirectory.
If so, mkimage fails with the above error message.
Unbreak this by replacing the offending character
(directory separator /)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions