All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH buildfix] configure: Assure existence of linux-headers/ build directory
@ 2012-06-14 15:14 Andreas Färber
  2012-06-14 15:56 ` Andreas Färber
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andreas Färber @ 2012-06-14 15:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Andreas Färber, Anthony Liguori

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>
---
 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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-20 16:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 15:14 [Qemu-devel] [PATCH buildfix] configure: Assure existence of linux-headers/ build directory Andreas Färber
2012-06-14 15:56 ` Andreas Färber
2012-06-19 15:18 ` Peter Maydell
2012-06-19 15:24   ` Andreas Färber
2012-06-20 10:42     ` Peter Maydell
2012-06-20 16:30 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.