Revision 08312a63 configure

b/configure
3538 3538
  mkdir -p linux-headers
3539 3539
  case "$cpu" in
3540 3540
  i386|x86_64)
3541
    symlink "$source_path/linux-headers/asm-x86" linux-headers/asm
3541
    linux_arch=x86
3542 3542
    ;;
3543 3543
  ppcemb|ppc|ppc64)
3544
    symlink "$source_path/linux-headers/asm-powerpc" linux-headers/asm
3544
    linux_arch=powerpc
3545 3545
    ;;
3546 3546
  s390x)
3547
    symlink "$source_path/linux-headers/asm-s390" linux-headers/asm
3547
    linux_arch=s390
3548
    ;;
3549
  *)
3550
    # For most CPUs the kernel architecture name and QEMU CPU name match.
3551
    linux_arch="$cpu"
3548 3552
    ;;
3549 3553
  esac
3554
    # For non-KVM architectures we will not have asm headers
3555
    if [ -e "$source_path/linux-headers/asm-$linux_arch" ]; then
3556
      symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm
3557
    fi
3550 3558
fi
3551 3559

  
3552 3560
for target in $target_list; do

Also available in: Unified diff