Kaydet (Commit) e66381a7 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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.
üst 7862e397
......@@ -30,7 +30,6 @@ PRJ=..
PRJNAME=idlc
TARGET=idlc
TARGETTYPE=CUI
TARGETPLATFORM=BUILD
LIBTARGET=NO
ENABLE_EXCEPTIONS=TRUE
......@@ -39,6 +38,11 @@ INCPRE=$(MISC)
# --- Settings -----------------------------------------------------
.IF "$(CROSS_COMPILING)"=="YES"
all:
@echo Nothing done when cross-compiling
.ENDIF
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
......
......@@ -30,7 +30,6 @@ PRJ=..$/..
PRJNAME=idlc
TARGET=idlcpp
TARGETTYPE=CUI
TARGETPLATFORM=BUILD
# --- Settings -----------------------------------------------------
......@@ -39,6 +38,11 @@ LIBSALCPPRT=$(0)
.INCLUDE : settings.mk
.IF "$(CROSS_COMPILING)"=="YES"
all:
@echo Nothing done when cross-compiling
.ENDIF
# --- Files --------------------------------------------------------
OBJFILES= \
......
......@@ -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= \
......
......@@ -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= \
......
......@@ -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=\
......
......@@ -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 ------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment