tBuild mainline u-boot for Nokia N900. - arm-sdk - os build toolkit for various embedded devices
HTML git clone https://git.parazyd.org/arm-sdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit a5ad681c5417f962c947210885cf483f0bc9628b
DIR parent 6518c5c494502d710a8f06e9e1cec48c211b96c1
HTML Author: parazyd <parazyd@dyne.org>
Date: Mon, 6 Jul 2020 01:13:28 +0200
Build mainline u-boot for Nokia N900.
Diffstat:
M boards/nokia-n900.sh | 19 +++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)
---
DIR diff --git a/boards/nokia-n900.sh b/boards/nokia-n900.sh
t@@ -47,6 +47,25 @@ postbuild() {
notice "executing $device_name postbuild"
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}() {