mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
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
This commit is contained in:
parent
365894ce2c
commit
8a9b273f9c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user