]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/build/build.py
BaseTools: Move BuildOption parser out of build.py
authorFeng, Bob C <bob.c.feng@intel.com>
Mon, 22 Jul 2019 06:23:40 +0000 (14:23 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 9 Aug 2019 15:15:54 +0000 (23:15 +0800)
commitc60fb00f6cf084a755eacef55f4347270520202e
tree6360db2f686159ebab88964f8879b8d7b08e16f0
parent636ed13a7f9339aea7fdb74de24be1703e9d482c
BaseTools: Move BuildOption parser out of build.py

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875

Build tool supports user to specify the conf folder.
To make the build options be evaluated at the beginning
of launching build, extract the buildoption function
from build.py to a new .py file.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Common/TargetTxtClassObject.py
BaseTools/Source/Python/build/build.py
BaseTools/Source/Python/build/buildoptions.py [new file with mode: 0644]