#
314890 |
|
08-Mar-2017 |
imp |
Copy needed include files from EDK2. This is a minimal set gleened from the .depend files after the build: cp -r ../vendor/edk2/MdePkg/Include sys/contrib/edk2 cd lib/libefivar make pushd `make -V .OBJDIR` cat .depend*.o | grep sys/contrib | cut -d' ' -f 3 | sort -u | sed -e 's=/full/path/sys/contrib/edk2/==' > /tmp/xxx popd cd ../../sys/contrib/edk2 rm -rf Include for i in `cat /tmp/xxx`; do svn cp svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/$i $i done svn cp svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/MdePkg.dec .
The original EDK2 repo is ~265MB, the MdePkg is ~23MB, all MdePkg/Includes is ~7MB and this minimal set is ~1.3MB.
Sponsored by: Netflix
|
#
314879 |
|
07-Mar-2017 |
imp |
Bring in snapshot of the MdePkg from Tianocore's EDK2 project at git hash 7babb4372e6a34cbbc54249b25056272a5a9924c From 2017-Mar-03.
EDK2 is Intel's BSD Licensed UEFI implementation. We'll be bringing in various routines from there rather than reimplementing them from scratch for libefivar and the EFI boot loader.
The upstream repo has ^M ending on everything (sometimes multiple times!), so the following script was run prior to import so changes we have to do don't first include changing every line:
% find . -type f | xargs -n 1 sed -I.BAK -e `printf "s/\r//g"` % find . -name \*.BAK | xargs rm
Also, only the MdePkg was brought in (it's 17MB, while the entire repo is 250MB). It's almost completely certain nothing else will be used, but if it is, it can be brough in along side MdePkg in the future.
Obtained from: https://github.com/tianocore/edk2.git
|