summaryrefslogtreecommitdiffstats
path: root/BaseTools/BuildEnv
Commit message (Collapse)AuthorAgeFilesLines
* BaseTools: Fix the ending character for Linux script BuildEnvBob Feng2021-02-101-12/+12
| | | | | | | | | | | Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Cc: Matthew Carlson <matthewfcarlson@gmail.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
* BaseTools: Use pip module if available, CI uses it by defaultMatthew Carlson2021-02-091-2/+12
| | | | | | | | | | | | | | | Use the new edk2-basetools pip module. Includes a helpful message in setup to let users know which has been selected. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Yuwei <Chen<yuwei.chen@intel.com> Signed-off-by: Matthew Carlson <matthewfcarlson@gmail.com>
* BaseTools: Replace BSD License with BSD+Patent LicenseMichael D Kinney2019-04-091-7/+1
| | | | | | | | | | | | | | | | | | | | https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
* BaseTools/BuildEnv: override "set -C" (noclobber) in sourcing shell envLaszlo Ersek2017-10-181-1/+1
| | | | | | | | | | | | | | | The BuildEnv utility is sourced (executed by the user's interactive shell) when the user sets up the build session. Some users like to set -C (noclobber) for some additional safety in their shells, which trips up BuildEnv. Update the redirection operator so that it overrides noclobber. Cc: Liming Gao <liming.gao@intel.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
* BaseTools/BuildEnv: Do not modify the env 'PACKAGES_PATH' in BuildEnvHao Wu2016-11-181-5/+5
| | | | | | | | | | | | | | | | | https://bugzilla.tianocore.org/show_bug.cgi?id=236 The script 'BuildEnv' modifies the value of the environment variable 'PACKAGES_PATH' (line 44). The script will substitute the ':' symbol (separating multiple paths) with a space. This is not supposed to happen since users might later use 'PACKAGES_PATH' during the code-building process under a multiple-workspace scenario. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
* edksetup.sh, BaseTools/BuildEnv: add --reconfig supportLeif Lindholm2016-10-241-1/+2
| | | | | | | | | Add command line option --reconfig to edksetup.sh, forcing cached copies of Conf/*.txt to be overwritten. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
* BaseTools: Update edksetup.sh to support multiple workspacesLiming Gao2015-10-081-17/+49
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Wu Hao A <hao.a.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18584 6f19259b-4bc3-4df7-8a09-765794883524
* License header updated to match correct format.Yingke Liu2014-08-281-5/+4
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yingke Liu <yingke.d.liu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15971 6f19259b-4bc3-4df7-8a09-765794883524
* BuildEnv: remove useless check before setting $WORKSPACEPaolo Bonzini2014-07-281-8/+0
| | | | | | | | | | | | | | | | | As long as $EDK_TOOLS_PATH is properly set, the BaseTools/ directory is not necessary in the workspace. The BuildEnv file itself suggests setting the variable if BaseTools/ is not available. However, this only works if the user also sets $WORKSPACE. Otherwise, BuildEnv refuses to set WORKSPACE itself and does not even try to use the preset $EDK_TOOLS_PATH. Remove the check that fails, as it does not have any practical benefit. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15702 6f19259b-4bc3-4df7-8a09-765794883524
* Sync BaseTools Trunk (version r2518) to EDKII main trunk.lgao42012-04-101-14/+11
| | | | | | | Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524
* Sync EDKII BaseTools to BaseTools project r1997qhuang82010-07-211-15/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10680 6f19259b-4bc3-4df7-8a09-765794883524
* Sync EDKII BaseTools to BaseTools project r1971lgao42010-05-181-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524
* Sync tool code to BuildTools project r1783.lgao42009-12-291-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9623 6f19259b-4bc3-4df7-8a09-765794883524
* setting executable on these fileslhauch2008-05-201-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5241 6f19259b-4bc3-4df7-8a09-765794883524
* Under the buildtools.tianocore.org BaseTools tree, we are renamingjljusten2008-02-131-2/+2
| | | | | | | | | | BaseTools/PseudoBin to BaseTools/BinWrappers. This change requires an update in the buildtools source (BaseTools directory) as well. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4690 6f19259b-4bc3-4df7-8a09-765794883524
* modified edk2/BaseTools/BuildEnv:jljusten2007-12-111-2/+2
| | | | | | | | Minor cleanup: Conf/BuildEnv.sh2 -> Conf/BuildEnv.sh git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4387 6f19259b-4bc3-4df7-8a09-765794883524
* modified edk2/BaseTools/BuildEnv:jljusten2007-12-111-21/+243
| | | | | | | | | | | | | deleted edk2/BaseTools/BuildEnv.py: Resolve https://edk2.tianocore.org/servlets/Scarab/id/EDKT557 "All code in the edk2 tree must not require third party tools for running the provided tools." which refers to the usage of python by BuildEnv.py. /sigh git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4386 6f19259b-4bc3-4df7-8a09-765794883524
* Make scripts work from $WORKSPACE/BaseTools.jljusten2007-10-171-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4152 6f19259b-4bc3-4df7-8a09-765794883524
* Moving from $WORKSPACE/Tools/BuildEnv $WORKSPACE/BaseTools/BuildEnv.jljusten2007-10-171-0/+39
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4150 6f19259b-4bc3-4df7-8a09-765794883524