Commit Graph

16 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 ea4511d127 DuetPkg: Use 'echo off' in BATCH script files
Instead of putting a '@' at the beginning of every command in BATCH script
files, use 'echo off' at the beginning of each file.

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:08 +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
niruiyu 7708d08195 Fix CreateBootDisk.bat not using config variables
Signed-off-by: Pete Batard
Reviewed-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11941 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-01 04:48:45 +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 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 8b85412a1d Ported LZMA to DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8245 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-06 03:44:47 +00:00
klu2 105c70e21b Duet X64 still use IA32 tool chain to generate bootsector. So update postbuild.bat to correct the binary path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7742 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 09:52:07 +00:00
klu2 9fe0e26707 Fix hard code base tool path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6284 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-29 06:49:52 +00:00
klu2 c5dfb4770b Support X64 build for DUET platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5183 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-08 06:22:31 +00:00
klu2 6d3f77236c Add some customization BAT steps for DUET platform
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5173 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 05:11:29 +00:00
klu2 3da85e633e 1, Use PrintLib in Duet loader
2, Fix missing compress image in final disk image. I think the raw disk image had better be organized as our FD image format. I will discuss this after enabling DUET for R9.
3, Add more debug output in loader.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5128 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-25 09:30:24 +00:00
klu2 52ce3fafd0 Move post building command from make file to bat file. Until build system support post build, these command will be for Duet platform's post building commands.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5126 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-25 02:59:16 +00:00