summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 15:01:15 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 15:01:15 +0000
commitede2f5b2997a35e893052ec371fff903aff2b59b (patch)
treefd02f3abb6e3224be73843797bb311d56401a4a1
parent2b023999fe8ca69f31f7ee4ae4e5a8a0f45b43de (diff)
downloadedk2-platforms-ede2f5b2997a35e893052ec371fff903aff2b59b.tar.xz
provide a temporary method to generate SecMain executable file.
[Background] The SecMain's generation is difference than other modules. It depends on some standard lib. At present, we only have extended build option mechanism in module build. It can not support this special case. Then provide this script to temporarily build SecMain git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5388 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--UnixPkg/build.script6
1 files changed, 6 insertions, 0 deletions
diff --git a/UnixPkg/build.script b/UnixPkg/build.script
new file mode 100644
index 0000000000..0bdf7d6ae6
--- /dev/null
+++ b/UnixPkg/build.script
@@ -0,0 +1,6 @@
+# Please use this script to produce SecMain executable file temporarily. You can run SecMain in Build/Unix/DEBUG_ELFGCC/IA32 directory.
+#
+cd ../
+source edksetup.sh BaseTools
+build -p UnixPkg/UnixPkg.dsc -t ELFGCC -a IA32
+gcc -m32 -Wl,--start-group Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate/OUTPUT/BaseTimerLibNullTemplate.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BaseLib/BaseLib/OUTPUT/BaseLib.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BaseMemoryLib/BaseMemoryLib/OUTPUT/BaseMemoryLib.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BasePcdLibNull/BasePcdLibNull/OUTPUT/BasePcdLibNull.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull/OUTPUT/BaseDebugLibNull.lib Build/Unix/DEBUG_ELFGCC/IA32/IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib/OUTPUT/BaseReportStatusCodeLib.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BasePeCoffLib/BasePeCoffLib/OUTPUT/BasePeCoffLib.lib Build/Unix/DEBUG_ELFGCC/IA32/MdePkg/Library/BasePrintLib/BasePrintLib/OUTPUT/BasePrintLib.lib Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/Sec/SecMain/OUTPUT/SecMain.lib --end-group -o Build/Unix/DEBUG_ELFGCC/IA32/SecMain -L/usr/X11R6/lib -lXext -lX11