mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Merge pull request #318 from dicej/bootimage-lzma
fix bootimage lzma build
This commit is contained in:
commit
bbf3382d3a
@ -1851,10 +1851,6 @@ void writeBootImage2(Thread* t,
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
SymbolInfo bootimageSymbols[]
|
|
||||||
= {SymbolInfo(0, bootimageStart),
|
|
||||||
SymbolInfo(bootimageData.length, bootimageEnd)};
|
|
||||||
|
|
||||||
uint8_t* bootimage;
|
uint8_t* bootimage;
|
||||||
unsigned bootimageLength;
|
unsigned bootimageLength;
|
||||||
if (useLZMA) {
|
if (useLZMA) {
|
||||||
@ -1874,6 +1870,10 @@ void writeBootImage2(Thread* t,
|
|||||||
bootimageLength = bootimageData.length;
|
bootimageLength = bootimageData.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SymbolInfo bootimageSymbols[]
|
||||||
|
= {SymbolInfo(0, bootimageStart),
|
||||||
|
SymbolInfo(bootimageLength, bootimageEnd)};
|
||||||
|
|
||||||
platform->writeObject(bootimageOutput,
|
platform->writeObject(bootimageOutput,
|
||||||
Slice<SymbolInfo>(bootimageSymbols, 2),
|
Slice<SymbolInfo>(bootimageSymbols, 2),
|
||||||
Slice<const uint8_t>(bootimage, bootimageLength),
|
Slice<const uint8_t>(bootimage, bootimageLength),
|
||||||
|
Loading…
Reference in New Issue
Block a user