summaryrefslogtreecommitdiff
path: root/xml2cmp/source/xcd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-04 13:49:47 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-04 13:51:07 +0300
commite66381a77b904431df0e823cfe87f37937beedb1 (patch)
treea4343f323e063f735a7f04b16117f37bffc0d5f7 /xml2cmp/source/xcd
parent7862e397af81c066658d10781c4ab23460d9b2e8 (diff)
Rehash cross-compilation ideas
Drop the TARGETPLATFORM=BUILD indication of stuff that is to be built for the build platform. I will handle the split of stuff built for the build or host platforms differently. Add explicit rules to do nothing for the cross-compilation case, but likely even that will be unnecessary in the case of complete modules like xml2cmp. I will just mark modules that are for the build platform only with an own flag in BUILD_TYPE.
Diffstat (limited to 'xml2cmp/source/xcd')
-rw-r--r--xml2cmp/source/xcd/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/xml2cmp/source/xcd/makefile.mk b/xml2cmp/source/xcd/makefile.mk
index ca3f7b437a8e..096d5c786839 100644
--- a/xml2cmp/source/xcd/makefile.mk
+++ b/xml2cmp/source/xcd/makefile.mk
@@ -30,7 +30,6 @@ PRJ=..$/..
PRJNAME=xml2cmp
TARGET=x2c_xcd
TARGETTYPE=CUI
-TARGETPLATFORM=BUILD
LIBTARGET=NO
@@ -40,6 +39,11 @@ ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
+.IF "$(CROSS_COMPILING)"=="YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
# --- Files --------------------------------------------------------
LIBONLYFILES=\