summaryrefslogtreecommitdiffstats
path: root/edksetup.sh
Commit message (Collapse)AuthorAgeFilesLines
* BaseTools/edksetup.sh: fix invalid test for current working directoryChris Ruffin2017-08-101-1/+1
| | | | | | | | | | | | | | | edksetup.sh implements a test that requires the current working directory to contain the edksetup.sh script. This test has the side effect of requiring the WORKSPACE to be set to the same directory as the edksetup.sh. In a multiple workspace configuration, it is required to be able to have a WORKSPACE that is different from the directory that contains edksetup.sh. This changeset skips this test if PACKAGE_PATH is set. Change-Id: Ie6f16a08c012baf4e650c48cc8e91cdc466d05f2 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Ruffin <chris.ruffin@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
* edksetup.sh, BaseTools/BuildEnv: add --reconfig supportLeif Lindholm2016-10-241-0/+10
| | | | | | | | | 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>
* edksetup.sh: rework argument parsing and update usage informationLeif Lindholm2016-10-241-28/+37
| | | | | | | | | | | | | | | Rework the argument parsing logic to a more extensible traditional while/case setup to prepare for further additions. While doing that, align the Usage printout to look a bit more like the output of Edk2Setup.bat (and be more correct). And also stop passing around command line options to the BuildEnv script (which does not check them anyway). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
* edksetup.sh: update the URL in edksetup.shYonghong Zhu2016-09-151-6/+3
| | | | | | | | | Update the URL since http://edk2.tianocore.org is not valid Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
* BaseTools: Update edksetup.sh to support multiple workspacesLiming Gao2015-10-081-3/+16
| | | | | | | | 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
* edksetup.sh: Ensure that WORKSPACE points to the top of an edk2 checkoutPaolo Bonzini2014-07-281-2/+44
| | | | | | | | | | | | | | | | | | | | | | | Since WORKSPACE should point at the EDK2 tree, the right place to check its validity is edksetup.sh, not BaseTools/BuildEnv. This patch makes sure that BuildEnv is always invoked with a valid WORKSPACE. This lets us show better error messages, and ensures that we never dirty the user's environment. BuildEnv will maintain backwards-compatibility and, should the variable be missing, it will be able to set a default WORKSPACE. Only the sanity checks will be of lower quality. Note that the error message in SetupEnv will never be shown if SetWorkspace sets WORKSPACE=`pwd`. Suggested-by: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15701 6f19259b-4bc3-4df7-8a09-765794883524
* edksetup.sh: Look for BuildEnv under EDK_TOOLS_PATHPaolo Bonzini2014-07-281-3/+6
| | | | | | | | | | | | | | | | | | | | | | | EDK_TOOLS_PATH is basically a replacement for $WORKSPACE/BaseTools. It makes sense to check for BuildEnv there, then, if $WORKSPACE is absent but $EDK_TOOLS_PATH is present. With this patch, it is possible to separately package tools in /usr and use them compile EDK2 (doing "rm -rf BaseTools" in the EDK2 tree). This is desirable for OS distributions that need to distribute the tools in a "free software" repository and OVMF in a "non-free software" repository; bundling the same code in two different packages causes confusion. It is also simpler for distros because the build process for BaseTools and OVMF is completely different. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15700 6f19259b-4bc3-4df7-8a09-765794883524
* edksetup.sh: Fix typo and return codeLeif Lindholm2014-01-301-4/+8
| | | | | | | | | | | | | The typo was a check for the string "BaseTool" instead of "BaseTools". Also fixed the issue where the script returned success even when configuration failed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15200 6f19259b-4bc3-4df7-8a09-765794883524
* edksetup.sh: Code styleJordan Justen2014-01-301-13/+15
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15199 6f19259b-4bc3-4df7-8a09-765794883524
* Handle command line parameter "-? -h --help" and any other.Parmeshwr Prasad2014-01-281-11/+32
| | | | | | | | Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Parmeshwr Prasad <parmeshwr_prasad@dell.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15192 6f19259b-4bc3-4df7-8a09-765794883524
* Correct copyright yearhhtian2011-02-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11321 6f19259b-4bc3-4df7-8a09-765794883524
* Removed the requirement to pass in at least one parameter to the script.geekboy15a2010-07-091-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10642 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-291-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10448 6f19259b-4bc3-4df7-8a09-765794883524
* add more description in edksetup.shklu22009-07-081-2/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8806 6f19259b-4bc3-4df7-8a09-765794883524
* Removed Java/Ant specific content from the setup scripts.lhauch2008-12-311-24/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7169 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
* edksetup.sh:jljusten2008-02-121-9/+26
| | | | | | | | | | Support both BaseTools and AntTools. Do not require the user to use BaseTools/BuildEnv for the BaseTools support. Use this command to for help: . edksetup.sh --help git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4687 6f19259b-4bc3-4df7-8a09-765794883524
* Refer to $WORKSPACE/BaseTools rather than $WORKSPACE/Tools.jljusten2007-10-171-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4149 6f19259b-4bc3-4df7-8a09-765794883524
* edksetup.sh:jljusten2007-10-161-85/+20
| | | | | | | | | | | | | | | | | | Now we look for the 'NewBuild' parameter, and if so, ask the user to 'source' the correct script. (. Tools/BuildEnv) Otherwise we 'source' the Tools/OldBuildEnv script for the user. Tools/OldBuildEnv: This is the old contents of $WORKSPACE/edksetup.sh Tools/BuildEnv: This script is used to configure the BaseTools build environment for unix-like operating systems. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4141 6f19259b-4bc3-4df7-8a09-765794883524
* Added support for xmlbeans-2.2.0jwang362007-01-101-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2203 6f19259b-4bc3-4df7-8a09-765794883524
* Changed the FrameworkWizard.jar path from Bin to binjwang362007-01-041-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2169 6f19259b-4bc3-4df7-8a09-765794883524
* Add ant-contrib.jar to class pathklu22006-12-281-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2150 6f19259b-4bc3-4df7-8a09-765794883524
* Cleanups for cygwin.bbahnsen2006-11-141-19/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1953 6f19259b-4bc3-4df7-8a09-765794883524
* Fix EDKT140(CompressDll.dll does not build under cygwin gcc).qouyang2006-08-041-0/+14
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1188 6f19259b-4bc3-4df7-8a09-765794883524
* Because Pcd entity, exception and some action package are shared by Building ↵klu22006-07-311-1/+2
| | | | | | tools and Wizard Tools, so I move them to Tools/Source folder and generated PcdTools.jar, git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1160 6f19259b-4bc3-4df7-8a09-765794883524
* Handle the FRAMEWORK_TOOLS_PATH properly on cygwin.bbahnsen2006-07-271-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1126 6f19259b-4bc3-4df7-8a09-765794883524
* Check to see if the tools are built before trying a build.bbahnsen2006-07-141-3/+49
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1005 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add build FrameworkWizard in edksetup.bathche10x2006-07-131-0/+1
| | | | | | 2. Modify FrameworkWizard.bat to skip building and only run the program git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@934 6f19259b-4bc3-4df7-8a09-765794883524
* Fix some bugs in edksetup.shklu22006-07-091-4/+13
| | | | | | | | 1, WORKSPACE environment in unix-like system can be obtained automatically as edksetup.bat in window's environment. 2, XMLBEANS_HOME environment in unix-like system should be also check as edksetup.bat in windows's environment. 3, In some unix-like system like darwin's system, system environment should be export to user's environment explicitly, this behavior is different in microsoft windows's platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@849 6f19259b-4bc3-4df7-8a09-765794883524
* Add a new classpath element.bbahnsen2006-06-201-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@577 6f19259b-4bc3-4df7-8a09-765794883524
* Convert env var name to all caps.bbahnsen2006-06-121-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@486 6f19259b-4bc3-4df7-8a09-765794883524
* Remove one of the saxon jars from the classpath.bbahnsen2006-06-061-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@434 6f19259b-4bc3-4df7-8a09-765794883524
* Try to fix the Surface Area build.bbahnsen2006-06-061-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@433 6f19259b-4bc3-4df7-8a09-765794883524
* Check for /workspace/externaltools/apache-antbbahnsen2006-05-241-2/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@271 6f19259b-4bc3-4df7-8a09-765794883524
* Updated to use environment variables instead of hard-coded path for ANT_HOME ↵lhauch2006-04-281-2/+2
| | | | | | and XMLBEANS_HOME git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@79 6f19259b-4bc3-4df7-8a09-765794883524
* Convert to Unix format.bbahnsen2006-04-241-42/+42
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14 6f19259b-4bc3-4df7-8a09-765794883524
* Initial import.bbahnsen2006-04-211-0/+42
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524