Adding STAGE1 bootstrap recipe

This commit is contained in:
Jaromir Capik 2015-06-11 19:27:49 +02:00
parent 3ae540d44b
commit 9c03320f7d
1 changed files with 15 additions and 0 deletions

15
STAGE1-u-boot Normal file
View File

@ -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