Build mainline u-boot for Nokia N900.

This commit is contained in:
parazyd 2020-07-06 01:13:28 +02:00
parent 6518c5c494
commit a5ad681c54
No known key found for this signature in database
GPG Key ID: 6B636BF0493EE747
1 changed files with 19 additions and 0 deletions

View File

@ -47,6 +47,25 @@ postbuild() {
notice "executing $device_name postbuild" notice "executing $device_name postbuild"
copy-root-overlay copy-root-overlay
notice "building u-boot"
pushd "$R/extra/u-boot"
make distclean
make \
$MAKEOPTS \
ARCH=arm \
CROSS_COMPILE=$compiler \
nokia_rx51_defconfig
make \
$MAKEOPTS \
ARCH=arm \
CROSS_COMPILE=$compiler || {
zerr
return 1
}
mv -v u-boot.img "$R/dist/n900-u-boot.img"
popd
} }
build_kernel_${arch}() { build_kernel_${arch}() {