Commit a307beb6 authored by Andreas Färber's avatar Andreas Färber Committed by Anthony Liguori
Browse files

configure: Assure existence of linux-headers/ build directory

Commit ec5b06d7

 (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.
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent b54fa7dd
...@@ -3491,6 +3491,7 @@ done ...@@ -3491,6 +3491,7 @@ done
# use included Linux headers # use included Linux headers
if test "$linux" = "yes" ; then if test "$linux" = "yes" ; then
mkdir -p linux-headers
case "$cpu" in case "$cpu" in
i386|x86_64) i386|x86_64)
symlink "$source_path/linux-headers/asm-x86" linux-headers/asm symlink "$source_path/linux-headers/asm-x86" linux-headers/asm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment