local repository
If rootstrap is created based on local repository, "--dist" option
should be used when building a platform project
Change-Id: Icb9d008cbf9827d5e355a483a14b18a03fb45de8
Signed-off-by: donghyuk.yang <donghyuk.yang@samsung.com>
public static final String DEFINE_OP = "--define";
public static final String BUILDROOT_OP = "--buildroot";
public static final String EXTRAPKG_OP = "--extra-packs";
+ public static final String DIST_OP = "--dist";
public GBSBuildCommandProvider(IConfiguration config) {
this.config = config;
for (String op : PlatformConfigurationManager.getGBSOptions(config)) {
args.add(op);
}
+ if (rt.getConfFile() != null) {
+ args.add(String.format("%s=%s", DIST_OP, rt.getConfFile().toString()));
+ }
args.add(DEFINE_OP);
ICConfigurationDescription cfgDes = ManagedBuildManager.getDescriptionForConfiguration(config);
IEnvironmentVariableManager mngr = CCorePlugin.getDefault().getBuildEnvironmentManager();