def METHOD_NAME(env_eSDK, tmpdir_eSDKQA, cmd, postconfig=None, **options):
    if postconfig:
        esdk_conf_file = os.path.join(tmpdir_eSDKQA, 'conf', 'local.conf')
        with open(esdk_conf_file, 'a+') as f:
            f.write(postconfig)
    if not options:
        options = {}
    if not 'shell' in options:
        options['shell'] = True
    runCmd("cd %s; unset BBPATH; unset BUILDDIR; . %s; %s" % (tmpdir_eSDKQA, env_eSDK, cmd), **options)