Device build tweak
|Reported by:||SF/robinwatts||Owned by:||fingolfin|
WinCE builds of ScummVM currently fail as a recent change makes Makefile.common include various tools in the standard build. The Make system tries to build these tools for WinCE, and this fails.
I suspect this affects other builds such as the PSP and GP2X ones.
This patch has a proposed fix for this; we define the DEVICE_BUILD symbol in the WinCE makefile (and in any other top level makefiles for platforms that need it).
We then tweak the tools makefile (and in future, any other makefiles that may need it) to only build the tools if DEVICE_BUILD is not set.
Ticket imported from: #1804795. Ticket imported from: patches/830.