Commit Graph

18 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
Ruiyu Ni 2790926d82 Change NT32 and DUET to use UEFI Shell by default. Use "-D USE_OLD_SHELL" for NT32 to use EDK Shell.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16444 6f19259b-4bc3-4df7-8a09-765794883524
2014-11-25 08:53:33 +00:00
Eric Dong bffaa2614a Update the bat file, avoid change the original binary file in SVN, copy a temp file to use.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15644 6f19259b-4bc3-4df7-8a09-765794883524
2014-07-09 08:28:05 +00:00
jljusten 8df0bd287c DuetPkg: Update create boot disk script to not modify bootsect.com
Previously the script would modify DuetPkg/BootSector/bin/bootsect.com.
Now a temporary file is used in place of bootsect.com.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11122 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-06 06:06:54 +00:00
jljusten 5c1138b0f0 DuetPkg CreateBootDisk.sh: Enable building a DUET floppy image
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10947 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-16 18:50:43 +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
eric_tian e843cdd7d9 1. update bat file to generate right bootia32.efi/bootx64.efi file according to command line parameters.
2. fix a print error in which a %x in format string exists but the corresponding variable argument is not present!
3. fix CONSUME_MEMORY too small issue. In X64 arch, cpu may cause the paging table is too big and beyond the pei memory scope between EfiMemoryTop and EfimemoryBottom. for example, a cpu support 44bits addressing memory space may occupied ~64M paging table.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9794 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-19 08:28:28 +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 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 6976b5cdf8 Add code for floppy format process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7993 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 06:38:37 +00:00
gikidy 536c563dd9 Add a parameter for process boot disk create.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7933 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-24 09:23:21 +00:00
gikidy 5b7021e627 Convert CreateBootDisk from windows bat file to Linux sh file.
For Linux version of Genbootsector & Bootsectimage has not pass build yet, this sh file has not completely done.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7777 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 06:27:07 +00:00