]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/PostBuild.sh
DuetPkg scripts: Support building with GCC45 - GCC49
[mirror_edk2.git] / DuetPkg / PostBuild.sh
index c77c0f345542fc52b25ee04f92f158fc7756d303..f032de3a9de4f092a2daaf7d2d01bbba802206c3 100755 (executable)
@@ -6,7 +6,7 @@
 #  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.<BR>
+#  Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
 #
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD License
@@ -53,11 +53,11 @@ case "$2" in
    UNIXGCC)
      export TOOLTAG=UNIXGCC
      ;;
-   GCC44)
-     export TOOLTAG=GCC44
+   GCC4*)
+     export TOOLTAG=$2
      ;;
    *)
-     echo Invalid tool tag, should be only UNIXGCC or GCC44
+     echo Invalid tool tag, should be only UNIXGCC or GCC4\*
      return 1
 esac