mirror of https://github.com/acidanthera/audk.git
Update GenBuild to append FLAGS from FPD files to the FLAGS defined in tools_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1657 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0923e8b3b2
commit
e04a8a9aae
|
@ -488,10 +488,19 @@ public class GenBuildTask extends Ant {
|
||||||
//
|
//
|
||||||
key[4] = ToolDefinitions.TOOLS_DEF_ATTRIBUTE_FLAGS;
|
key[4] = ToolDefinitions.TOOLS_DEF_ATTRIBUTE_FLAGS;
|
||||||
String cmdFlags = GlobalData.getCommandSetting(key, fpdModuleId);
|
String cmdFlags = GlobalData.getCommandSetting(key, fpdModuleId);
|
||||||
Set<String> addset = new LinkedHashSet<String>();
|
if (cmdFlags != null)
|
||||||
Set<String> subset = new LinkedHashSet<String>();
|
{
|
||||||
putFlagsToSet(addset, cmdFlags);
|
// Set<String> addset = new LinkedHashSet<String>();
|
||||||
getProject().setProperty(cmd[m] + "_FLAGS", getProject().replaceProperties(getFlags(addset, subset)));
|
// Set<String> subset = new LinkedHashSet<String>();
|
||||||
|
// putFlagsToSet(addset, cmdFlags);
|
||||||
|
// getProject().setProperty(cmd[m] + "_FLAGS", getProject().replaceProperties(getFlags(addset, subset)));
|
||||||
|
getProject().setProperty(cmd[m] + "_FLAGS", cmdFlags);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
getProject().setProperty(cmd[m] + "_FLAGS", "");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set CC_EXT
|
// Set CC_EXT
|
||||||
|
|
Loading…
Reference in New Issue