]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/PatchCheck.py: Add LicenseCheck
authorShenglei Zhang <shenglei.zhang@intel.com>
Tue, 21 Apr 2020 06:45:02 +0000 (14:45 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 12 Jun 2020 06:26:13 +0000 (06:26 +0000)
commita4cfb842fca9693a330cb5435284c1ee8bfbbace
tree99d3b8ab5f3de6adf13b4315b8daa6e2f95873bd
parent394e8e4bf586b4749620a48a23c816ee19f0e04a
BaseTools/PatchCheck.py: Add LicenseCheck

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2691
For files to be added to the tree, this feature will check
whether it has BSD plus patent license. If not, licenses listed in
Readme are also accepted but warning will be reported.
Otherwise, it should be error.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Scripts/PatchCheck.py