From 2897231803d9d506f7cb7c68eeb59dcc4805084d Mon Sep 17 00:00:00 2001 From: jwang36 Date: Mon, 22 Jan 2007 09:59:07 +0000 Subject: Python script for generating build files for platform and modules, which uses the enhanced XmlRoutines.py written by Bruce. The functionalities include: - parse all packages(.spd) and modules(.msa) - parse active platform(.fpd). You must set active platform in target.txt otherwise nothing will be parsed. - parse tools_def.txt and target.txt - generate Ant build files for active platform and its modules. The generated build file is re-designed and can be called separately once generated. - multi-thread build The functionalities which haven't been implemented include: - AutoGen. No AutoGen.h and AutoGen.c will be generated. If you want run the build file, you have to run the "build" command in advance to generate the AutoGen.h/.c files and remove the any other intermediate files. - generate FFS and FV files. Only compiling will be done by the generated build file. Usage: - type "python ${WORKSPACE}/Tools/Python/buildgen/BuildFile.py" in shell to generate build file - goto "${WORKSPACE}/Build/${platform}/${target}_${toolchaintag}/", type "ant" to run the build file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2278 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/Python/buildgen/module_build_path.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Tools/Python/buildgen/module_build_path.txt (limited to 'Tools/Python/buildgen/module_build_path.txt') diff --git a/Tools/Python/buildgen/module_build_path.txt b/Tools/Python/buildgen/module_build_path.txt new file mode 100644 index 0000000000..e5c8ed103d --- /dev/null +++ b/Tools/Python/buildgen/module_build_path.txt @@ -0,0 +1,5 @@ +BIN_DIR=${PLATFORM_BUILD_DIR}/${ARCH} +MODULE_BUILD_DIR=${BIN_DIR}/${PACKAGE_RELATIVE_DIR}/${MODULE_RELATIVE_DIR}/${MODULE_FILE_BASE_NAME} +DEST_DIR_OUTPUT=${MODULE_BUILD_DIR}/OUTPUT +DEST_DIR_DEBUG=${MODULE_BUILD_DIR}/DEBUG + -- cgit v1.2.3