summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-21 02:20:25 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-21 02:20:25 +0300
commit3d6c21278d100ea4e89fd151da3c9e0121931822 (patch)
tree992ea83746e39b3b5aab5c0e4cea0c4a9a07504e
parentcb112b51237d3b282a6ab1d54532d13b9a7e428b (diff)
Pack binaries for the HOST ("target") platform when cross-compiling
-rw-r--r--odk/util/makefile.pmk4
1 files changed, 4 insertions, 0 deletions
diff --git a/odk/util/makefile.pmk b/odk/util/makefile.pmk
index 6e9f2013..2fd708a0 100644
--- a/odk/util/makefile.pmk
+++ b/odk/util/makefile.pmk
@@ -58,7 +58,11 @@ DESTDIRGENCPPREF=$(DESTDIRDOCU)/cpp/ref
DESTDIRJAVADOCU=$(DESTDIRDOCU)/java
DESTDIRGENJAVAREF=$(DESTDIRDOCU)/java/ref
+.IF "$(CROSS_COMPILING)" == "YES"
+BINOUT=$(SOLARVERSION)/$(INPATH)/bin
+.ELSE
BINOUT=$(SOLARBINDIR)
+.ENDIF
INCOUT=$(SOLARINCDIR)
IDLOUT=$(SOLARIDLDIR)
XMLOUT=$(SOLARXMLDIR)