Split commands out of Config.mk

So that we can call the commands in release tools (in Python) later.
The function definition in Config.mk is moved to build/core/Makefile.

Change-Id: I23b9780fd4dac6a7f34ebf8837e2fa839e4bbf30
3 files changed