X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Ffpd%2FFpdParserForThread.java;h=65516645206f899d18cb46b845b2b59779fd3387;hp=b16530b59f4c9765ea4122c5450ace702e383af5;hb=c8df018e44c9a88a582472339b645d4087848fd6;hpb=97fc032b57b1d189139df778272942d6eaeb132d diff --git a/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java b/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java index b16530b59f..6551664520 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java +++ b/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserForThread.java @@ -1,9 +1,6 @@ /** @file This file is ANT task FpdParserTask. - FpdParserTask is used to parse FPD (Framework Platform Description) and generate - build.out.xml. It is for Package or Platform build use. - Copyright (c) 2006, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -37,31 +34,6 @@ import org.tianocore.build.GenBuildThread; import org.tianocore.common.exception.EdkException; /** - FpdParserTask is an ANT task. The main function is parsing Framework - Platform Descritpion (FPD) XML file and generating its ANT build script for - corresponding platform. - -

The task sets global properties PLATFORM, PLATFORM_DIR, PLATFORM_RELATIVE_DIR - and BUILD_DIR.

- -

The task generates ${PLATFORM}_build.xml file which will be called by top level - build.xml. The task also generate Fv.inf files (File is for Tool GenFvImage) - and flash definition file (File is for Tool FlashMap) if necessary.

- -

FpdParserTask task stores all FPD information to GlobalData. And parse - tools definition file to set up compiler options for different Target and - different ToolChainTag.

- -

The method parseFpdFile is also prepared for single module build.

- -

The usage is (take NT32 Platform for example):

- -
-  <FPDParser platformName="Nt32" />
-  
- -

The task will initialize all information through parsing Framework Database, - SPD, Tool chain configuration files.

@since GenBuild 1.0 **/ @@ -94,19 +66,8 @@ public class FpdParserForThread extends FpdParserTask { } /** - ANT task's entry method. The main steps is described as following: - - - @throws BuildException - Surface area is not valid. + **/ public void execute() throws BuildException { //