Revision: 6532
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6532&view=rev
Author:   gespinasse
Date:     2012-04-07 17:03:38 +0000 (Sat, 07 Apr 2012)
Log Message:
-----------
Move creation of {files,log}__${MACHINE}/${STAGE_ORDER}_${STAGE} to the right 
place.

Previously, once a build is made, I often move log_i486 to a name with a time 
stamp for diff purpose.
Following that, I was no more able to run ./make.sh shell as log directory was 
not created in that code path.

Modified Paths:
--------------
    ipcop/trunk/make.sh

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2012-04-07 16:46:21 UTC (rev 6531)
+++ ipcop/trunk/make.sh 2012-04-07 17:03:38 UTC (rev 6532)
@@ -1395,6 +1395,9 @@
 
#########################################################################################################
 lfsmakecommoncheck()
 {
+       ${MKDIR} ${BASEDIR}/files_${MACHINE}/${STAGE_ORDER}_${STAGE}
+       ${MKDIR} ${BASEDIR}/log_${MACHINE}/${STAGE_ORDER}_${STAGE}
+
        # so we catch for sure error in PREPLOGFILE
        unset LOGFILE
 
@@ -1594,9 +1597,6 @@
        STAGE_ORDER=01
        STAGE=toolchain
 
-       ${MKDIR} ${BASEDIR}/files_${MACHINE}/01_toolchain
-       ${MKDIR} ${BASEDIR}/log_${MACHINE}/01_toolchain
-
        if [ -f $BASEDIR/log_${MACHINE}/01_toolchain/ccache-* ]; then
                beautify message INFO "You can't partially rebuild some parts 
of the toolchain cleanly."
                beautify message INFO "Preferably before each toolchain build, 
use:\n./make.sh clean"
@@ -1672,9 +1672,6 @@
        STAGE_ORDER=02
        STAGE=base
 
-       ${MKDIR} ${BASEDIR}/files_${MACHINE}/02_base
-       ${MKDIR} ${BASEDIR}/log_${MACHINE}/02_base
-
        update-gcc-hash "/${TOOLS_DIR}/bin/${TARGET_2}-gcc"
 
        chroot_make stage2
@@ -1751,9 +1748,6 @@
        STAGE_ORDER=03
        STAGE=ipcop
 
-       ${MKDIR} ${BASEDIR}/files_${MACHINE}/03_ipcop
-       ${MKDIR} ${BASEDIR}/log_${MACHINE}/03_ipcop
-
        # Build these first as some of the kernel packages below rely on
        # these for some of their client program functionality
        chroot_make Python              # glib require Python
@@ -1900,9 +1894,6 @@
        STAGE_ORDER=04
        STAGE=misc
 
-       ${MKDIR} ${BASEDIR}/files_${MACHINE}/04_misc
-       ${MKDIR} ${BASEDIR}/log_${MACHINE}/04_misc
-
        chroot_make xorriso
        chroot_make memtest
        chroot_make syslinux
@@ -1939,9 +1930,6 @@
        STAGE_ORDER=05
        STAGE=packages
 
-       ${MKDIR} ${BASEDIR}/files_${MACHINE}/05_packages
-       ${MKDIR} ${BASEDIR}/log_${MACHINE}/05_packages
-
        chroot_make fix-up
        chroot_make installer
        chroot_make initramfs

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to