From 88c41f843953fb20a5716ee3ffd23e44a2a957b5 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 3 Jul 2012 19:32:42 +0200 Subject: don't blow away mkspecs/modules-inst when reconfiguring otherwise we get lots of nasty warning messages about missing pri files. it is arguable whether it is a good idea to do that, but we preserve mkspecs/modules, too, and the previously built libraries don't just vanish, either. Change-Id: Ieded8d8858f1b0135bc3bea894b4a676024ac8ca Reviewed-by: Girish Ramakrishnan Reviewed-by: Joerg Bornemann Reviewed-by: Marius Storm-Olsen --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure b/configure index a631dc912b..36576c2124 100755 --- a/configure +++ b/configure @@ -2125,6 +2125,9 @@ if [ "$OPT_SHADOW" = "yes" ]; then # save a pre-existing mkspecs/modules dir test -d "$outpath/mkspecs/modules" && \ mv "$outpath/mkspecs/modules" "$outpath/mkspecs-modules" + # ditto for mkspecs/modules-inst + test -d "$outpath/mkspecs/modules-inst" && \ + mv "$outpath/mkspecs/modules-inst" "$outpath/mkspecs-modules-inst" # symlink the mkspecs directory mkdir -p "$outpath/mkspecs" @@ -2152,6 +2155,12 @@ if [ "$OPT_SHADOW" = "yes" ]; then ShadowMkspecs modules fi + # The modules-inst dir is not quite as special, but still. + if test -d "$outpath/mkspecs-modules-inst"; then + rm -rf "$outpath/mkspecs/modules-inst" + mv "$outpath/mkspecs-modules-inst" "$outpath/mkspecs/modules-inst" + fi + # symlink the doc directory rm -rf "$outpath/doc" ln -s "$relpath/doc" "$outpath/doc" -- cgit v1.2.3