summaryrefslogtreecommitdiff
path: root/strata/bsp-rpi2/u-boot@rpi2.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-08 22:59:52 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-17 22:49:34 +0000
commitb4488827bb7e0af6012654cfebdc04e580321005 (patch)
tree0b45a1c75c8d6fbec27ae7ff25f4b9903fcfe5e2 /strata/bsp-rpi2/u-boot@rpi2.morph
parent1447071e4aacd17b3c7c20f81cae02a45659c01b (diff)
downloaddefinitions-b4488827bb7e0af6012654cfebdc04e580321005.tar.gz
Change-Id: I2a89a90a5b0dff9693e14fb42723ebdaf2200d87
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"