summaryrefslogtreecommitdiff
path: root/strata/bsp-rpi2/u-boot@rpi2.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/bsp-rpi2/u-boot@rpi2.morph')
-rw-r--r--strata/bsp-rpi2/u-boot@rpi2.morph11
1 files changed, 11 insertions, 0 deletions
diff --git a/strata/bsp-rpi2/u-boot@rpi2.morph b/strata/bsp-rpi2/u-boot@rpi2.morph
new file mode 100644
index 00000000..a674c76f
--- /dev/null
+++ b/strata/bsp-rpi2/u-boot@rpi2.morph
@@ -0,0 +1,11 @@
+name: u-boot@rpi2
+kind: chunk
+configure-commands:
+- make ARCH=arm rpi_2_config
+build-commands:
+- make ARCH=arm CROSS_COMPILE=/usr/bin/
+- make ARCH=arm CROSS_COMPILE=/usr/bin/ tools
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX/bin"
+- mkdir -p "$DESTDIR/boot"
+- cp u-boot.bin "$DESTDIR/boot/kernel.img"