From a307beb6e8c4490bc4f9c95dc2195599ae43d59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 14 Jun 2012 15:14:33 +0000 Subject: [PATCH] configure: Assure existence of linux-headers/ build directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Anthony Liguori --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 37faee4a60..f575279d2b 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