Commit Graph

22 Commits

Author SHA1 Message Date
Hao Wu bab82372a9 DuetPkg: Add POSTBUILD in DSC files to run post-build automatically
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>
2016-11-14 19:33:11 +08:00
Hao Wu 24476311ed DuetPkg: Resolve white-space issues for post-build scripts & ReadMe
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>
2016-11-14 19:33:04 +08:00
Jordan Justen 912065fe70 DuetPkg scripts: Support building with GCC45 - GCC49
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>
2016-04-08 13:47:19 +02:00
jljusten 9046a2f9d3 DuetPkg PostBuild.sh: Use EDK_TOOLS_PATH if defined
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10946 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:33 +00:00
klu2 63c89e0468 remove --image-base option EfiLdr.inf, and use GenFw to do image base relocation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10571 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-10 08:54:18 +00:00
hhtian b1f700a859 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10438 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:39:50 +00:00
klu2 ab9cb4b1fd Separate IA32/X64 architecture into two DSC file to avoid the their output mixup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10272 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-18 02:36:52 +00:00
klu2 c4ae2792f2 1, Remove comma after year
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
2010-03-10 02:36:05 +00:00
klu2 e4c0074b68 Cleanup license header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10219 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10 01:23:13 +00:00
klu2 169fa21031 Correct the shell script file type as executable
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-17 07:04:47 +00:00
klu2 df6434f27a Rollback patch temporary until receive legal approve.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9277 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-17 02:16:30 +00:00
klu2 e7b2c17aad Apply patch from Patrick Georgi. Correct build tool path to stable version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9263 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-15 02:18:21 +00:00
klu2 9e8c32c6a4 Correct the file name case for linux environment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8809 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 07:25:02 +00:00
klu2 e88f305671 This patch includes:
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
2009-06-22 03:01:53 +00:00
gikidy 11d909a4b1 1. Open USB related and logo support FVs, remove some useless FVs.
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
2009-05-06 09:03:11 +00:00
klu2 f8b30ae529 add return if no valid architecture
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8094 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 02:36:20 +00:00
klu2 fe9591c5b4 It is safe to use bcat command to cat binary files, if bcat is avaiable, so add bcat command into comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7885 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 04:59:21 +00:00
klu2 560b815e21 Final boot image just need combination, no need to create directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7883 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 02:52:48 +00:00
klu2 49794755ba Remove exit from batch file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7879 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-15 11:49:12 +00:00
klu2 71bd6db178 Update PostBuild.sh
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7770 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 12:12:46 +00:00
klu2 3ef254bb50 Use com as postfix as MSFT does.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7769 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 11:56:02 +00:00
gikidy f89afddbe3 Add PostBuild process file for Unix environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7767 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 08:37:23 +00:00