Accelerate python only if explicitly requested

Python acceleration in sdk-build+pp mode requires that the environment
variable SBOX_REDIRECT_FORCE=/usr/bin/python is exported.

Add examples of conditionally accelerated program rules to sdk-build
and sdk-build+pp modes.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
updateQtCreatorTargets: Handle a missing xml file by making a blank one

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
sdk-manage: Run updateQtCreatorTargets as mersdk user so sb2 targets are properly visible

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
sdk-manage: XML is associated with shared folder, not internal.

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
updateQtCreatorTargets: XML key in QtCreator corrected to MerTarget.GccDumpMachine

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: Add new mb2 code

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: Correct sense of spec file test; correct typo in macro

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: Require qtc_* macros to be defined

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
mb2: Workaround rpmbuild not setting _builddir
use
  %{?qtc_builddir:%define _builddir %qtc_builddir}
in the spec file macro definitions

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
updateQtCreatorTargets: Use cleaner xml format
<targets version="2">
<target name="">
  <output name="GccDumpMachine"></output>
  <output name="QmakeQuery"></output>
</target>
<target name="">
  <output name="GccDumpMachine"></output>
  <output name="QmakeQuery"></output>
</target>
</targets>

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
sdk-version: fix --go to actually go when it's the sole argument

--go set UPDATE, but only INSTALL was checked when processing arguments