Patchwork [v2,1/2] ppc64: Fix out-of-tree builds

login
register
mail settings
Submitter Andreas Färber
Date May 8, 2011, 11:25 a.m.
Message ID <1304853957-8244-1-git-send-email-andreas.faerber@web.de>
Download mbox | patch
Permalink /patch/94551/
State New
Headers show

Comments

Andreas Färber - May 8, 2011, 11:25 a.m.
On ppc64 host, recursion into pc-bios/spapr-rtas/ fails for
out-of-tree builds. Add missing dir and symlink.

Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
---
 v2:
 * Don't discard previous $DIRS, it would break a fresh build.
   Spotted by David Gibson.
 
 configure |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index 6f75e2e..9244260 100755
--- a/configure
+++ b/configure
@@ -3457,11 +3457,13 @@  done # for target in $targets
 
 # build tree in object directory in case the source is not in the current directory
 DIRS="tests tests/cris slirp audio block net pc-bios/optionrom"
+DIRS="$DIRS pc-bios/spapr-rtas"
 DIRS="$DIRS roms/seabios roms/vgabios"
 DIRS="$DIRS fsdev ui"
 FILES="Makefile tests/Makefile"
 FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
 FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
+FILES="$FILES pc-bios/spapr-rtas/Makefile"
 FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
 for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.rom $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do
     FILES="$FILES pc-bios/`basename $bios_file`"