From 2f574c76be65aebc0a2da57ea04d1df37019f247 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Sun, 11 Oct 2015 09:56:28 +0000 Subject: Compile u-boot too --- strata/bsp-rpi2.morph | 5 +++++ strata/bsp-rpi2/u-boot@rpi2.morph | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 strata/bsp-rpi2/u-boot@rpi2.morph diff --git a/strata/bsp-rpi2.morph b/strata/bsp-rpi2.morph index d6f91f6a..e060ad82 100644 --- a/strata/bsp-rpi2.morph +++ b/strata/bsp-rpi2.morph @@ -34,3 +34,8 @@ chunks: morph: strata/bsp-rpi2/linux-firmware-rpi2.morph ref: d82d3c1e5eddb811a38513a7e5b33202773f0fff unpetrify-ref: master +- name: u-boot@rpi2 + morph: strata/bsp-rpi2/u-boot@rpi2.morph + repo: upstream:u-boot + ref: f33cdaa4c3da4a8fd35aa2f9a3172f31cc887b35 + unpetrify-ref: v2015.04 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" -- cgit v1.2.1