Re: [PATCH] need to export variables in config.mak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-09-30 19:40, Chris Friesen wrote:
> The variables being written to config.mak by configure
> need to be exported in order to take effect when building
> the package.
> 
> The following patch fixes this in our environment.
> 
> Signed-off-by: Chris Friesen <chris.friesen@xxxxxxxxxxx>
> 
> 
> Index: kvm-kmod-3.0b/configure
> ===================================================================
> --- kvm-kmod-3.0b.orig/configure	2011-09-27 15:12:08.000009000 -0500
> +++ kvm-kmod-3.0b/configure	2011-09-27 15:11:59.001566000 -0500
> @@ -168,24 +168,24 @@ fi
>  rm -f include/asm include-compat/asm
>  mkdir -p include
>  ln -sf asm-"$karch" include/asm
>  ln -sf asm-"$karch" include-compat/asm
>  
>  cat <<EOF > config.mak
> -ARCH=$arch
> -PROCESSOR=$processor
> -PREFIX=$prefix
> -KERNELDIR=$kerneldir
> -KERNELSOURCEDIR=$kernelsourcedir
> -KERNELVERSION=$kernel_version_str
> -CROSS_COMPILE=$cross_prefix
> -CC=$cross_prefix$cc
> -LD=$cross_prefix$ld
> -OBJCOPY=$cross_prefix$objcopy
> -AR=$cross_prefix$ar
> -KVM_VERSION=$(kvm_version)
> +export ARCH=$arch
> +export PROCESSOR=$processor
> +export PREFIX=$prefix
> +export KERNELDIR=$kerneldir
> +export KERNELSOURCEDIR=$kernelsourcedir
> +export KERNELVERSION=$kernel_version_str
> +export CROSS_COMPILE=$cross_prefix
> +export CC=$cross_prefix$cc
> +export LD=$cross_prefix$ld
> +export OBJCOPY=$cross_prefix$objcopy
> +export AR=$cross_prefix$ar
> +export KVM_VERSION=$(kvm_version)
>  EOF
>  
>  cat <<EOF > kvm-kmod-config.h
>  #define KERNEL_EXTRAVERSION $kernel_extraversion
>  $config_fedora_kernel
>  EOF
> 

Thanks, merged. I just dropped the export from those variables that are
kvm-kmod-only.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux