Difference between revisions of "Build script for EA distribution"

From Klaus' wiki
Jump to: navigation, search
Line 10: Line 10:
 
. settings.sh
 
. settings.sh
 
touch images/maketimestamp
 
touch images/maketimestamp
 +
echo "PLease wait.... makeing..."
 
make >make-out.txt 2>&1
 
make >make-out.txt 2>&1
 
if [ images/uLinux.bin -nt images/maketimestamp ] ; then
 
if [ images/uLinux.bin -nt images/maketimestamp ] ; then

Revision as of 08:29, 15 February 2011

This is a small script that helps you build the distribution. Place it in the uClinux-dist directory (that's the point where you bild the distribution)

#!/bin/bash
#
# A smal helper script that copies the final result to the tftpboot directory
#
# Klaus Kolle 2010 11 13
#
. settings.sh
touch images/maketimestamp
echo "PLease wait.... makeing..."
make >make-out.txt 2>&1
if [ images/uLinux.bin -nt images/maketimestamp ] ; then
        cp images/uLinux.bin images/romfs.img /tftpboot
        echo "Copied new images to tftpboot"
fi
rm images/maketimestamp