(A while ago, when I tried to play with the OUT_DIR and build the
source, I had problems)
In the larger picture, I am trying to have something like...
make OUT_DIR=$FEATURE_OUTDIR
// work work work...
// Notice a different bug, so Switch to the bugfix branch
git checkout bugfix
make OUT_DIR=$BUGFIXES_OUTDIR
git commit etc. etc.
// Go back to work on the main feature...
git checkout default
make OUT_DIR=$FEATURE_OUTDIR
-Jey
--dbort
diff --git a/core/Makefile b/core/Makefile
index 224c3cf..bd4143a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1002,6 +1002,7 @@ $(INTERNAL_SDK_TARGET): $(deps)
done; \
if [ $$FAIL ]; then exit 1; fi
$(hide) ( \
+ mkdir -p $(PRIVATE_DIR) \
$(HOST_OUT_EXECUTABLES)/atree \
$(addprefix -f ,$(PRIVATE_INPUT_FILES)) \
-m $(PRIVATE_DEP_FILE) \
If that doesn't work, try adding "showcommands" to your make line to
see what it's trying to do, like "make -j2 OUT_DIR=~/out10 sdk
showcommands".
--dbort
diff --git a/core/Makefile b/core/Makefile
index 224c3cf..800cf32 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1002,6 +1002,7 @@ $(INTERNAL_SDK_TARGET): $(deps)
done; \
if [ $$FAIL ]; then exit 1; fi
$(hide) ( \
+ mkdir -p $(PRIVATE_DIR); \
$(HOST_OUT_EXECUTABLES)/atree \
$(addprefix -f ,$(PRIVATE_INPUT_FILES)) \
-m $(PRIVATE_DEP_FILE) \
--dbort
--dbort
That could be; very few people have tried changing OUT_DIR.
>
> Would be very useful, to get this fixed.
>
If you find the underlying problem, please send me a patch and I'll
take a look at it. Thanks for the debugging you've done so far!
--dbort