From 6465f4e8dd72990f550fd0a63342325fb0d4e026 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 4 Jun 2011 14:51:55 +0300 Subject: Rehash cross-compilation ideas Drop the TARGETPLATFORM=BUILD indication of stuff that is to be built for the build platform but pointless to build for the host platform. I will handle the split of stuff built for the build or host platforms differently. Note that some libraries need to be built for both platforms. 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 soltools (?). I will just mark modules that are for the build platform only with an own flag in BUILD_TYPE. --- soltools/cpp/makefile.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'soltools/cpp') diff --git a/soltools/cpp/makefile.mk b/soltools/cpp/makefile.mk index d88161600b0d..5cada33f9cd4 100644 --- a/soltools/cpp/makefile.mk +++ b/soltools/cpp/makefile.mk @@ -30,7 +30,6 @@ PRJ=.. PRJNAME=soltools TARGET=cpp TARGETTYPE=CUI -TARGETPLATFORM=BUILD NO_DEFAULT_STL=TRUE # --- Settings ----------------------------------------------------- @@ -38,6 +37,11 @@ NO_DEFAULT_STL=TRUE .INCLUDE : $(PRJ)$/util$/makefile.pmk .INCLUDE : settings.mk +.IF "$(CROSS_COMPILING)"=="YES" +all: + @echo Nothing done when cross-compiling +.ENDIF + UWINAPILIB=$(0) LIBSALCPPRT=$(0) -- cgit