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
Make libsb2 upgradable in sdk-install mode

Removed libsb2 related rules/mappings from the sdk-install mode and
cleaned up consequently unused rules.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>