Skip linux-headers reinstallation from iterative builds.

This commit is contained in:
Manuel Canales Esparcia 2006-12-07 10:51:26 +00:00
parent 3673dc1abf
commit 8426d1fdc4
2 changed files with 4 additions and 0 deletions

View file

@ -294,6 +294,8 @@ chapter6_Makefiles() { # sysroot or chroot build phase
*chroot* ) continue ;; *chroot* ) continue ;;
# Test if the stripping phase must be skipped # Test if the stripping phase must be skipped
*-stripping* ) [[ "$STRIP" = "n" ]] && continue ;; *-stripping* ) [[ "$STRIP" = "n" ]] && continue ;;
# Skip linux-headers in iterative builds
*linux-headers*) [[ -n "$N" ]] && continue ;;
esac esac
# Grab the name of the target # Grab the name of the target

View file

@ -192,9 +192,11 @@ chapter6_Makefiles() {
# We'll run the chroot commands differently than the others, so skip them in the # We'll run the chroot commands differently than the others, so skip them in the
# dependencies and target creation. # dependencies and target creation.
# Skip also linux-headers in iterative builds.
case "${this_script}" in case "${this_script}" in
*chroot) continue ;; *chroot) continue ;;
*stripping*) [[ "${STRIP}" = "n" ]] && continue ;; *stripping*) [[ "${STRIP}" = "n" ]] && continue ;;
*linux-headers*) [[ -n "$N" ]] && continue ;;
esac esac
# Grab the name of the target. # Grab the name of the target.