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-25 21:08:21 +0000
commitc16d9ce16828e9e6f5785c5eb02f807723ff95de (patch)
tree7e1a0fdebb9d624cb531a4d135a322a0fe5d8448 /strata/bsp-rpi2/u-boot@rpi2.morph
parent4ba344339136825374633083648507f54b096d79 (diff)
downloaddefinitions-baserock/pedroalvarez/merge-rpi2.tar.gz
Add rpi2 system and bspbaserock/pedroalvarez/merge-rpi2
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"