diff --git a/scripts/pxestick.sh b/scripts/pxestick.sh index 5b8772e..1258e1f 100755 --- a/scripts/pxestick.sh +++ b/scripts/pxestick.sh @@ -2,93 +2,15 @@ set -e -BUILD_TYPE=RELEASE -#BUILD_TYPE=DEBUG -TOOLCHAIN=GCC5 - -pushd edk2 >/dev/null - make -C BaseTools --jobs="$(nproc)" - source edksetup.sh --reconfig - - build \ - -a X64 \ - -b "${BUILD_TYPE}" \ - -t "${TOOLCHAIN}" \ - -p "OptionRomPkg/OptionRomPkg.dsc" - DRIVER="${PWD}/Build/OptionRomPkg/${BUILD_TYPE}_${TOOLCHAIN}/X64/Ax88772.efi" - - build \ - -a X64 \ - -b "${BUILD_TYPE}" \ - -t "${TOOLCHAIN}" \ - -p "ShellPkg/ShellPkg.dsc" - SHELL="${PWD}/Build/Shell/${BUILD_TYPE}_${TOOLCHAIN}/X64/Shell.efi" -popd >/dev/null - rm -rf build/pxestick mkdir -p build/pxestick cd build/pxestick wget -O ipxe.efi http://boot.ipxe.org/ipxe.efi -cat > startup.nsh <