summaryrefslogtreecommitdiffstatshomepage
path: root/src/build/build.mak
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2013-11-03 03:53:05 +0000
committer Justin Kerk <dopefishjustin@gmail.com>2013-11-03 03:53:05 +0000
commit8a9b273f9c495c7669a95c2b62141b0f18623b12 (patch)
treed4d28d272c3648faf6a5593a890239fe61027ced /src/build/build.mak
parent365894ce2c3e6d867d4a0041bc051aa4cd2f2deb (diff)
More cross_build stuff (nw)
<jvilk> DFJustin: the issue is that if you do not add those targets in, then those targets are not defined when you do a CROSS_BUILD <jvilk> and Make fails <jvilk> because targets depend on them <jvilk> the 'correct' fix would be to have the targets that depend on them depend on the correct location of the tools <jvilk> because I think what was happening is that they depended on the location of the tools assuming that they were built for the target platform
Diffstat (limited to 'src/build/build.mak')
-rw-r--r--src/build/build.mak21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/build/build.mak b/src/build/build.mak
index e1958b27d49..bf45d9ae074 100644
--- a/src/build/build.mak
+++ b/src/build/build.mak
@@ -128,4 +128,23 @@ $(VERINFO_TARGET): $(VERINFOOBJS) $(LIBOCORE)
@echo Linking $@...
$(LD) $(LDFLAGS) $^ $(LIBS) -o $@
-endif
+else
+#-------------------------------------------------
+# It's a CROSS_BUILD. Ensure the targets exist.
+#-------------------------------------------------
+$(FILE2STR_TARGET):
+ @echo $@ should be built natively. Nothing to do.
+
+$(MAKEDEP_TARGET):
+ @echo $@ should be built natively. Nothing to do.
+
+$(MAKELIST_TARGET):
+ @echo $@ should be built natively. Nothing to do.
+
+$(PNG2BDC_TARGET):
+ @echo $@ should be built natively. Nothing to do.
+
+$(VERINFO_TARGET):
+ @echo $@ should be built natively. Nothing to do.
+
+endif # CROSS_BUILD