aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-06-14 15:14:33 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2012-06-27 16:26:59 -0500
commita307beb6e8c4490bc4f9c95dc2195599ae43d59a (patch)
treec863f5dc3f304fd260a22bae8b42fddf1b6397b6 /configure
parentb54fa7ddde8ace758d1eb332ce4a10e35dbf7302 (diff)
downloadqemu-a307beb6e8c4490bc4f9c95dc2195599ae43d59a.zip
qemu-a307beb6e8c4490bc4f9c95dc2195599ae43d59a.tar.gz
qemu-a307beb6e8c4490bc4f9c95dc2195599ae43d59a.tar.bz2
configure: Assure existence of linux-headers/ build directory
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. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 37faee4..f575279 100755
--- a/configure
+++ b/configure
@@ -3491,6 +3491,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