Add one more platform level common property "TARGET_DIR". Take Nt32 for example:...
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 Sep 2006 06:27:16 +0000 (06:27 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 Sep 2006 06:27:16 +0000 (06:27 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1456 6f19259b-4bc3-4df7-8a09-765794883524

EdkNt32Pkg/Nt32.fpd
Tools/Conf/BuildMacro.xml

index ec2db71..ada6875 100644 (file)
     </concat>\r
     <!--Generate Run.cmd file. This file will call SecMain.exe to start shell.-->\r
     <pathconvert property="SecMainPath" targetos="windows">\r
-      <path path="${FV_DIR}/../IA32"/>\r
+      <path path="${TARGET_DIR}/IA32"/>\r
     </pathconvert>\r
     <echo file="${PLATFORM_DIR}/run.cmd">@REM\r
       @REM Copyright (c) 2006, Intel Corporation\r
index 0de9f32..280a1c0 100644 (file)
@@ -1167,8 +1167,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     <element name="EXTRA.ARG" optional="yes"/>\r
 \r
     <sequential>\r
-      <mkdir dir="${BUILD_DIR}/${TARGET}_${TOOLCHAIN}/Microcode"/>\r
-      <flashmap MCIFile="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" MCOFILE="${BUILD_DIR}/${TARGET}_${TOOLCHAIN}/Microcode/@{FILENAME}.bin"/>\r
+      <mkdir dir="${TARGET_DIR}/Microcode"/>\r
+      <flashmap MCIFile="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" MCOFILE="${TARGET_DIR}/Microcode/@{FILENAME}.bin"/>\r
     </sequential>\r
   </macrodef> \r
 \r