From a5ad681c5417f962c947210885cf483f0bc9628b Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 6 Jul 2020 01:13:28 +0200 Subject: [PATCH] Build mainline u-boot for Nokia N900. --- boards/nokia-n900.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/boards/nokia-n900.sh b/boards/nokia-n900.sh index 32f7798..6ae728a 100644 --- a/boards/nokia-n900.sh +++ b/boards/nokia-n900.sh @@ -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}() {