Changeset 6100211 for CLFS3/master.sh


Ignore:
Timestamp:
07/02/2007 08:41:30 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
a60ed79
Parents:
535fd45
Message:

CLFS3: added INSTALL_LOG support to cross_tools_Makefiles to can track Linux-Headers and uClibc installed files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLFS3/master.sh

    r535fd45 r6100211  
    211211    if [ "$pkg_tarball" != "" ] ; then
    212212       LUSER_wrt_unpack "$pkg_tarball"
     213      # Touch timestamp file if installed files logs will be created.
     214      if [ "${INSTALL_LOG}" = "y" ] ; then
     215        LUSER_wrt_TouchTimestamp
     216      fi
    213217       # If using optimizations, write the instructions
    214218       [[ "$OPTIMIZE" != "0" ]] &&  wrt_optimize "$name" && wrt_makeflags "$name"
     
    217221    LUSER_wrt_RunAsUser "${file}"
    218222    #
    219     [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}"
     223    # Write installed files log and remove the build directory(ies)
     224    # except if the package build fails.
     225    if [ "$pkg_tarball" != "" ] ; then
     226      LUSER_RemoveBuildDirs "${name}"
     227      if [ "${INSTALL_LOG}" = "y" ] ; then
     228        LUSER_wrt_LogNewFiles "$name"
     229      fi
     230    fi
    220231    #
    221232    # Include a touch of the target name so make can check if it's already been made.
     
    270281    if [ "$pkg_tarball" != "" ] ; then
    271282      # Touch timestamp file if installed files logs will be created.
    272       # But only for the firt build when running iterative builds.
    273283      if [ "${INSTALL_LOG}" = "y" ] ; then
    274284        LUSER_wrt_TouchTimestamp
Note: See TracChangeset for help on using the changeset viewer.