uboot: fix cross-build of ubootTools
This commit is contained in:
parent
01020b3263
commit
28fd7d9594
@ -86,12 +86,11 @@ in rec {
|
|||||||
ubootTools = buildUBoot rec {
|
ubootTools = buildUBoot rec {
|
||||||
defconfig = "allnoconfig";
|
defconfig = "allnoconfig";
|
||||||
installDir = "$out/bin";
|
installDir = "$out/bin";
|
||||||
buildFlags = "tools NO_SDL=1";
|
|
||||||
hardeningDisable = [];
|
hardeningDisable = [];
|
||||||
dontStrip = false;
|
dontStrip = false;
|
||||||
extraMeta.platforms = stdenv.lib.platforms.linux;
|
extraMeta.platforms = stdenv.lib.platforms.linux;
|
||||||
# build tools/kwboot
|
# build tools/kwboot
|
||||||
extraMakeFlags = [ "CONFIG_KIRKWOOD=y" ];
|
extraMakeFlags = [ "CONFIG_KIRKWOOD=y" "CROSS_BUILD_TOOLS=1" "NO_SDL=1" "tools" ];
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
sed -i '/CONFIG_SYS_TEXT_BASE/c\CONFIG_SYS_TEXT_BASE=0x00000000' .config
|
sed -i '/CONFIG_SYS_TEXT_BASE/c\CONFIG_SYS_TEXT_BASE=0x00000000' .config
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user