abinfo "Patching edk2 ..."
# NOTE: Patch uses LF, but upstream uses CRLF.
find "$SRCDIR"/edk2 -type f -exec dos2unix {} \;
pushd "$SRCDIR"/edk2
ab_apply_patches "$SRCDIR"/autobuild/patches/*.edk2
popd

abinfo "Unsetting all preset compiler/linker flags for EFI applications ..."
unset CPPFLAGS CFLAGS LDFLAGS
