Difference between revisions of "Build script for EA distribution"
From Klaus' wiki
Line 5: | Line 5: | ||
# | # | ||
# A smal helper script that copies the final result to the tftpboot directory | # A smal helper script that copies the final result to the tftpboot directory | ||
+ | # and captures the output from the make process in the file "make-out.txt" | ||
# | # | ||
# Klaus Kolle 2010 11 13 | # Klaus Kolle 2010 11 13 | ||
Line 10: | Line 11: | ||
. settings.sh | . settings.sh | ||
touch images/maketimestamp | touch images/maketimestamp | ||
− | echo " | + | echo "Please wait.... might take several minutes" |
− | 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 | ||
cp images/uLinux.bin images/romfs.img /tftpboot | cp images/uLinux.bin images/romfs.img /tftpboot |
Revision as of 07:44, 7 November 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 build the distribution)
#!/bin/bash # # A smal helper script that copies the final result to the tftpboot directory # and captures the output from the make process in the file "make-out.txt" # # Klaus Kolle 2010 11 13 # . settings.sh touch images/maketimestamp echo "Please wait.... might take several minutes" 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