[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH buildfix] configure: Assure existence of linux-h
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH buildfix] configure: Assure existence of linux-headers/ build directory |
Date: |
Thu, 14 Jun 2012 17:56:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 14.06.2012 17:14, schrieb Andreas Färber:
> Commit ec5b06d (configure: ensure directory exists when creating symlinks)
> moved the creation of directories into the symlink() function but forgot
> the case where no symlink is created.
>
> This leads to build errors on arm Linux due to -I../linux-headers.
>
> Unbreak the build on arm Linux by reverting part of that commit.
Er, "Unbreak the build by..." would suffice, no need to double-duplicate. ;)
/-F
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> configure | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index c2366ee..ba8cc7c 100755
> --- a/configure
> +++ b/configure
> @@ -3462,6 +3462,7 @@ done
>
> # use included Linux headers
> if test "$linux" = "yes" ; then
> + mkdir -p linux-headers
> case "$cpu" in
> i386|x86_64)
> symlink "$source_path/linux-headers/asm-x86" linux-headers/asm
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg