diff options
author | wuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-14 07:00:48 +0000 |
---|---|---|
committer | wuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-08-14 07:00:48 +0000 |
commit | 88f858a1355fc338f8cc7e9a9246a8c0a98da10f (patch) | |
tree | d8ddb92e5f2d47701fc83e890bb86ad9f1ee3575 /Tools/Source | |
parent | 7b086bab60be422ae5417d3c801356aa162ab6f9 (diff) | |
download | edk2-platforms-88f858a1355fc338f8cc7e9a9246a8c0a98da10f.tar.xz |
Using ${OBJECTS} instead of fileset to trace all obj files. Add a new Macro named Build_Init to provide a way to initial some properties for user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1252 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java | 6 | ||||
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java b/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java index 72870e07b1..7a9d7c4cce 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java +++ b/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java @@ -285,7 +285,6 @@ public class GenBuildTask extends Ant { // MODULE or BASE_NAME, GUID or FILE_GUID, VERSION, MODULE_TYPE
// MODULE_DIR, MODULE_RELATIVE_DIR
// SUBSYSTEM, ENTRYPOINT, EBC_TOOL_LIB_PATH
- // LIBS, OBJECTS, SDB_FILES
//
setModuleCommonProperties(archList[k]);
@@ -429,12 +428,7 @@ public class GenBuildTask extends Ant { getProject().setProperty("ENTRYPOINT", "_ModuleEntryPoint");
}
- //
- // LIBS, OBJECTS, SDB_FILES
- //
getProject().setProperty("OBJECTS", "");
- getProject().setProperty("SDB_FILES", "");
- getProject().setProperty("LIBS", "");
}
private void getCompilerFlags(String target, String toolchain, FpdModuleIdentification fpdModuleId) throws EdkException {
diff --git a/Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java b/Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java index 49628af5d2..cdd88147c3 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java +++ b/Tools/Source/GenBuild/org/tianocore/build/ModuleBuildFileGenerator.java @@ -414,6 +414,12 @@ public class ModuleBuildFileGenerator { FileProcess fileProcess = new FileProcess();
fileProcess.init(project, includes, document);
+
+ //
+ // Initialize some properties by user
+ //
+ Element initEle = document.createElement("Build_Init");
+ root.appendChild(initEle);
String moduleDir = project.getProperty("MODULE_DIR");
//
|