Skip linux-headers reinstallation from iterative builds.
This commit is contained in:
parent
3673dc1abf
commit
8426d1fdc4
2 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,8 @@ chapter6_Makefiles() { # sysroot or chroot build phase
|
|||
*chroot* ) continue ;;
|
||||
# Test if the stripping phase must be skipped
|
||||
*-stripping* ) [[ "$STRIP" = "n" ]] && continue ;;
|
||||
# Skip linux-headers in iterative builds
|
||||
*linux-headers*) [[ -n "$N" ]] && continue ;;
|
||||
esac
|
||||
|
||||
# Grab the name of the target
|
||||
|
|
|
@ -192,9 +192,11 @@ chapter6_Makefiles() {
|
|||
|
||||
# We'll run the chroot commands differently than the others, so skip them in the
|
||||
# dependencies and target creation.
|
||||
# Skip also linux-headers in iterative builds.
|
||||
case "${this_script}" in
|
||||
*chroot) continue ;;
|
||||
*stripping*) [[ "${STRIP}" = "n" ]] && continue ;;
|
||||
*linux-headers*) [[ -n "$N" ]] && continue ;;
|
||||
esac
|
||||
|
||||
# Grab the name of the target.
|
||||
|
|
Reference in a new issue