X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FPostBuild.sh;h=c95bd63af893d4e815cf945b06abf77be7bd7d23;hb=9e4f210c32dd8ad4484cedbe9a09c5b44e4f2e3c;hp=40af9f9dd7e287d30e51d442d78d550f9e887a38;hpb=c4ae2792f250bce176cf68ecdd64d4bf246c3fb0;p=mirror_edk2.git 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 #