Mike,

Could we put PerformancePkg into the Deprecated directory? As 
PerformancePkg\Library\TscTimerLib could be replaced by 
PcAtChipsetPkg\Library\AcpiTimerLib and ShellPkg\Library\UefiDpLib has the same 
functionality with PerformancePkg\Dp_App.
The valid concern is that user may want a standalone DP application.

Thanks,
Star
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Kinney, 
Michael D
Sent: Wednesday, May 18, 2016 7:57 AM
To: edk2-devel@lists.01.org; Kinney, Michael D <michael.d.kin...@intel.com>
Subject: [edk2] [RFC] Proposal to organize packages into directories

Hello,

There have been some discussions about organizing packages into directories.
Below is a proposal for a top level directory structure and a first pass 
mapping of the packages from edk2/master.  Where applicable, vendor specific 
directories can be added.

The PACKAGES_PATH feature documented in the link below is used to support this 
proposed directory structure with no source file changes.  An example of 
setting PACKAGES_PATH in a windows environment is also shown below and I have 
verified that platforms can be built using this proposal.

https://github.com/tianocore/tianocore.github.io/wiki/Multiple_Workspace

Please provide feedback on the proposal (for, against, alternate proposal), the 
number/type of top level directories, and the top level directory names.

Top Level Directory Structure (Listed Alphabetically) 
=====================================================
edk2
  Application       Applications and application support libraries
  BaseTools         EDK II build tools/scripts
  Conf              EDK II build configuration files
  Core              Platform agnostic packages for core FW services
  Deprecated        Packages that will be removed from edk2/master soon
  Drivers           EDK II Drivers (no platform assumptions)
    Vendor          Vendor specific EDK II drivers
      <VendorA>
      <VendorB>
  Platform          Platforms used to validate edk2/master features
    Emulated        Emulated platform packages
    Vendor          Vendor specific platform packages
      <VendorM>
      <VendorN>
  Silicon           CPU/Chipset/SoC packages
    Vendor          Vendor specific CPU/Chipset/SoC drivers
      <VendorX>
      <VendorY>

Mapping packages from edk2/master into proposed directory structure 
===================================================================
edk2
  Application
    AppPkg
    ShellPkg
    StdLib
    StdLibPrivateInternalFiles    
  Core
    CorebootModulePkg
    CorebootPayloadPkg
    CryptoPkg
    EmbeddedPkg
    IntelFrameworkModulePkg
    IntelFrameworkPkg
    IntelFsp2Pkg
    IntelFsp2WrapperPkg
    IntelFspPkg
    IntelFspWrapperPkg
    MdeModulePkg
    MdePkg
    PerformancePkg
    SecurityPkg
    SourceLevelDebugPkg
  Deprecated
    EdkCompatibilityPkg
    EdkShellBinPkg
    EdkShellPkg
    FatBinPkg
    ShellBinPkg
  Drivers
    FatPkg
    NetworkPkg
    OptionRomPkg
    Vendor
  Platform
    Emulated
      DuetPkg
      EmulatorPkg
      Nt32Pkg
      OvmfPkg
      UnixPkg
    Vendor
      Arm
        ArmPlatformPkg
        ArmVirtPkg
        BeagleBoardPkg
      Intel
        QuarkPlatformPkg
        Vlv2TbltDevicePkg
  Silicon
    PcAtChipsetPkg
    UefiCpuPkg
    Vendor
      Arm
        ArmPkg
        Omap35xxPkg
      Intel
        QuarkSocPkg
        Vlv2DeviceRefCodePkg

Setting PACKAGES_PATH to support builds using proposed directory structure 
===========================================================================
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Core
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Drivers
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Silicon
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Silicon\Vendor\Arm
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Silicon\Vendor\Intel
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Platform\Emulated
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Platform\Vendor\Arm
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Platform\Vendor\Intel
set PACKAGES_PATH=%PACKAGES_PATH%;%WORKSPACE%\edk2\Application

Best regards,

Mike

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to