The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/edk2/FREEBSD-upgrade

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 $FreeBSD$
    2 
    3 We try to maintain the minimal set of headers required to build, as the full
    4 set of files from MdePkg is quite large (10MB at the time of writing). To do
    5 this when performing an upgrade, execute the following:
    6 
    7 # Generate list of the headers needed to build
    8 cp -r ../vendor/edk2/dist/MdePkg/Include sys/contrib/edk2
    9 cd lib/libefivar
   10 make
   11 pushd `make -V .OBJDIR`
   12 cat .depend*.o | grep sys/contrib | cut -d' ' -f 3 |
   13     sort -u | sed -e 's=/full/path/sys/contrib/edk2/==' > /tmp/xxx
   14 popd
   15 
   16 # Merge the needed files
   17 cd ../../sys/contrib/edk2
   18 svn revert -R .
   19 for i in `cat /tmp/xxx`; do
   20     svn merge -c VendorRevision svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/$i $i
   21 done
   22 svn merge -c VendorRevision \
   23     svn+ssh://repo.freebsd.org/base/vendor/edk2/dist/MdePkg/MdePkg.dec MdePkg.dec

Cache object: 699c61fe803c49e47d172e1c6a42df07


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.