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