From 9c03320f7d3e29e6ac064b2b31345e352cf0d605 Mon Sep 17 00:00:00 2001 From: Jaromir Capik Date: Thu, 11 Jun 2015 19:27:49 +0200 Subject: [PATCH] Adding STAGE1 bootstrap recipe --- STAGE1-u-boot | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 STAGE1-u-boot diff --git a/STAGE1-u-boot b/STAGE1-u-boot new file mode 100644 index 0000000..ef89765 --- /dev/null +++ b/STAGE1-u-boot @@ -0,0 +1,15 @@ +# FIXME! Already present in Fedora as uboot-tools. +# No need for cloning from upstream git. +# +# git git://git.denx.de/u-boot.git +if [ ! -f $BUILDDIR/u-boot/README ] +then + cd $BUILDDIR + git clone git://git.denx.de/u-boot.git +fi +cd $BUILDDIR/u-boot +make $J distclean +make $J CROSS_COMPILE=${TARGET}- omap4_panda_config +make $J CROSS_COMPILE=${TARGET}- u-boot.img +mkdirp $ROOTFS/boot +cp u-boot.img $ROOTFS/boot/u-boot.img