diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-04 13:49:47 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-04 13:51:07 +0300 |
commit | e66381a77b904431df0e823cfe87f37937beedb1 (patch) | |
tree | a4343f323e063f735a7f04b16117f37bffc0d5f7 /xml2cmp | |
parent | 7862e397af81c066658d10781c4ab23460d9b2e8 (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')
-rw-r--r-- | xml2cmp/source/finder/makefile.mk | 6 | ||||
-rw-r--r-- | xml2cmp/source/support/makefile.mk | 6 | ||||
-rw-r--r-- | xml2cmp/source/xcd/makefile.mk | 6 | ||||
-rw-r--r-- | xml2cmp/util/makefile.mk | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/xml2cmp/source/finder/makefile.mk b/xml2cmp/source/finder/makefile.mk index 928e2a89953e..fee7e41c637c 100644 --- a/xml2cmp/source/finder/makefile.mk +++ b/xml2cmp/source/finder/makefile.mk @@ -30,7 +30,6 @@ PRJ=..$/.. PRJNAME=xml2cmp TARGET=srvdepy TARGETTYPE=CUI -TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- @@ -38,6 +37,11 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + # --- Files -------------------------------------------------------- OBJFILES= \ diff --git a/xml2cmp/source/support/makefile.mk b/xml2cmp/source/support/makefile.mk index 425935384075..4c243174cc1f 100644 --- a/xml2cmp/source/support/makefile.mk +++ b/xml2cmp/source/support/makefile.mk @@ -30,7 +30,6 @@ PRJ=..$/.. PRJNAME=xml2cmp TARGET=x2c_support TARGETTYPE=CUI -TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- @@ -38,6 +37,11 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + # --- Files -------------------------------------------------------- OBJFILES= \ 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=\ diff --git a/xml2cmp/util/makefile.mk b/xml2cmp/util/makefile.mk index 082cf1395761..b50d318a1c37 100644 --- a/xml2cmp/util/makefile.mk +++ b/xml2cmp/util/makefile.mk @@ -30,13 +30,17 @@ PRJ=.. PRJNAME=xml2cmp TARGET=xml2cmp TARGETTYPE=CUI -TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + # --- Files -------------------------------------------------------- # --- Targets ------------------------------------------------------ |