summaryrefslogtreecommitdiffstats
path: root/DuetPkg/PostBuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* DuetPkg: Add POSTBUILD in DSC files to run post-build automaticallyHao Wu2016-11-141-36/+24
| | | | | | | | | | | | | | | | | | | | | | https://bugzilla.tianocore.org/show_bug.cgi?id=220 Currently, the post-build scripts PostBuild.bat/PostBuild.sh in DuetPkg need to be run manually. Especially for Windows batch script, it also requires users to set the build options (like tool chain, target and arch) in file Conf/target.txt. If users using command line options via '-t' or '-a', the post-build script won't work properly. The package DSC files now support the feature to execute post-build script automatically by adding a 'POSTBUILD' definition. This feature also passes the build options into the post-build script as parameters. This commit uses this feature to make the post-build works for DuetPkg more user-friendly. Also, ReadMe.txt is updated to reflect the new steps for UEFI Emulation (DUET) development. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* DuetPkg: Resolve white-space issues for post-build scripts & ReadMeHao Wu2016-11-141-29/+29
| | | | | | | Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
* DuetPkg scripts: Support building with GCC45 - GCC49Jordan Justen2016-04-081-4/+4
| | | | | | | | | | Build tested with GCC 5.3 with both IA32 and X64. Unfortunately both seemed to hang very early when boot tested on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@Intel.com>
* DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if definedjljusten2010-10-161-2/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
* remove --image-base option EfiLdr.inf, and use GenFw to do image base relocationklu22010-06-101-5/+19
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-281-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
* Separate IA32/X64 architecture into two DSC file to avoid the their output ↵klu22010-03-181-21/+23
| | | | | | mixup. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524
* 1, Remove comma after yearklu22010-03-101-1/+1
| | | | | | | 2, Use full stop instead of comma after "Intel Corporation" 3, Remove blank char between "." and "<BR>" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10222 6f19259b-4bc3-4df7-8a09-765794883524
* Cleanup license header klu22010-03-101-5/+18
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10219 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the shell script file type as executableklu22009-11-171-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524
* Rollback patch temporary until receive legal approve.klu22009-09-171-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
* Apply patch from Patrick Georgi. Correct build tool path to stable version.klu22009-09-151-8/+8
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the file name case for linux environmentklu22009-07-081-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8809 6f19259b-4bc3-4df7-8a09-765794883524
* This patch includes:klu22009-06-221-13/+13
| | | | | | | 1) Use the binaries of boot sector directly instead of building it. Because the code of boot sector will be modified rarely and it is native code. 2) Correct the shell binary file path which is changed by recently. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8620 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Open USB related and logo support FVs, remove some useless FVs.gikidy2009-05-061-3/+3
| | | | | | 2. Update PostBuild.sh for LZMA support under Linux. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8250 6f19259b-4bc3-4df7-8a09-765794883524
* add return if no valid architectureklu22009-04-161-0/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8094 6f19259b-4bc3-4df7-8a09-765794883524
* It is safe to use bcat command to cat binary files, if bcat is avaiable, so ↵klu22009-03-161-0/+10
| | | | | | add bcat command into comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7885 6f19259b-4bc3-4df7-8a09-765794883524
* Final boot image just need combination, no need to create directoryklu22009-03-161-4/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7883 6f19259b-4bc3-4df7-8a09-765794883524
* Remove exit from batch fileklu22009-03-151-3/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
* Update PostBuild.shklu22009-03-021-25/+30
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7770 6f19259b-4bc3-4df7-8a09-765794883524
* Use com as postfix as MSFT does.klu22009-03-021-6/+6
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7769 6f19259b-4bc3-4df7-8a09-765794883524
* Add PostBuild process file for Unix environment.gikidy2009-03-021-0/+72
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7767 6f19259b-4bc3-4df7-8a09-765794883524