]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/build.sh
Add the new reset type (EfiResetPlatformSpecific) to UefiSpec.h to follow UEFI Spec...
[mirror_edk2.git] / EmulatorPkg / build.sh
index 111619fa47e7b70f32063584eb0e504c5e5738fc..67648f509a38b601f422531caa9640336085f886 100755 (executable)
@@ -90,6 +90,9 @@ case `uname` in
       4.6.*)
         TARGET_TOOLS=GCC46
         ;;
+      4.[789].*)
+        TARGET_TOOLS=GCC47
+        ;;
       *)
         TARGET_TOOLS=GCC44
         ;;
@@ -158,13 +161,13 @@ case $PROCESSOR in
   IA32)
     ARCH_SIZE=32
     BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator32
-    LIB_NAMES="ld-linux.so.2 crt1.o crti.o crtn.o"
+    LIB_NAMES="ld-linux.so.2 libdl.so.2 crt1.o crti.o crtn.o"
     LIB_SEARCH_PATHS="/usr/lib/i386-linux-gnu /usr/lib32 /lib32 /usr/lib /lib"
     ;;
   X64)
     ARCH_SIZE=64
     BUILD_OUTPUT_DIR=$WORKSPACE/Build/Emulator
-    LIB_NAMES="ld-linux-x86-64.so.2 crt1.o crti.o crtn.o"
+    LIB_NAMES="ld-linux-x86-64.so.2 libdl.so.2 crt1.o crti.o crtn.o"
     LIB_SEARCH_PATHS="/usr/lib/x86_64-linux-gnu /usr/lib64 /lib64 /usr/lib /lib"
     ;;
 esac