@Zenith Did you get any other error like: 'error 3000: Global macro ARCH is not permitted' since that commit
Yes. There were 2 problems with edk2 commit dc4c77
- Get error "global macro arch is not permitted' in refit.inf. This is result of change in MetaFileParser.py. Can fix this by either using reversion checked in by Slice, or as Fritz suggested - edit refit.inf and change CLOVER$(ARCH) to just CLOVER.
- The change in WorkspaceDatabase.py caused unfixable breakdown - a regression in edk2 build process. It was fixed by edk2 commit 1d8ceb. So after 1d8ceb, it is possible to use WorkspaceDatabase.py from edk2 tree or the reversion checked in by Slice.
Hope this clarifies.