From ab9cb4b1fd901170cc03b134066066b064909244 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 18 Mar 2010 02:36:52 +0000 Subject: Separate IA32/X64 architecture into two DSC file to avoid the their output mixup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/PostBuild.sh | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'DuetPkg/PostBuild.sh') diff --git a/DuetPkg/PostBuild.sh b/DuetPkg/PostBuild.sh index 40af9f9dd7..c95bd63af8 100755 --- a/DuetPkg/PostBuild.sh +++ b/DuetPkg/PostBuild.sh @@ -1,25 +1,24 @@ #!/bin/sh - -## @file -# -# Currently, Build system does not provide post build mechanism for module -# and platform building, so just use a sh file to do post build commands. -# Originally, following post building command is for EfiLoader module. -# -# Copyright (c) 2010 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 -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -## - - - -export BUILD_DIR=$WORKSPACE/Build/DuetPkg/DEBUG_UNIXGCC + +## @file +# +# Currently, Build system does not provide post build mechanism for module +# and platform building, so just use a sh file to do post build commands. +# Originally, following post building command is for EfiLoader module. +# +# Copyright (c) 2010 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 +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +## + + + export BASETOOLS_DIR=$WORKSPACE/Conf/BaseToolsSource/Source/C/bin export BOOTSECTOR_BIN_DIR=$WORKSPACE/DuetPkg/BootSector/bin export PROCESSOR="" @@ -46,6 +45,9 @@ case "$1" in return 1 esac +export BUILD_DIR=$WORKSPACE/Build/DuetPkg$PROCESSOR/DEBUG_UNIXGCC + + # # Boot sector module could only be built under IA32 tool chain # -- cgit v1.2.3