summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Sec
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 02:07:57 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 02:07:57 +0000
commit910f969c933fc8a6cf4b573eeaa63efc593f9d29 (patch)
treed2544f8586f432d9f9a284c7da8668863ef5ea22 /Nt32Pkg/Sec
parentd695558b20974ddf58bb887e7499f486ef1c0b3f (diff)
downloadedk2-platforms-910f969c933fc8a6cf4b573eeaa63efc593f9d29.tar.xz
Fix the issue that Sec lost library build dependency
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3083 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Sec')
-rw-r--r--Nt32Pkg/Sec/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Nt32Pkg/Sec/Makefile b/Nt32Pkg/Sec/Makefile
index 0261f43439..6ed32850bb 100644
--- a/Nt32Pkg/Sec/Makefile
+++ b/Nt32Pkg/Sec/Makefile
@@ -30,7 +30,7 @@ LINK_FLAGS_EXE = /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT
CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /D EFI32 /Od /DSTRING_ARRAY_NAME=SecMainStrings /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm
COMMON_DEPS = $(DEBUG_DIR)\AutoGen.h
-all : $(BIN_DIR)\SecMain.exe
+all : gen_libs $(BIN_DIR)\SecMain.exe
$(BIN_DIR)\SecMain.exe : $(OBJECTS)
"$(DLINK)" \
@@ -41,6 +41,18 @@ $(BIN_DIR)\SecMain.exe : $(OBJECTS)
/base:0x10000000 \
/out:"$(BIN_DIR)\SecMain.exe" \
/pdb:"$(BIN_DIR)\SecMain.pdb"
+
+gen_libs:
+ cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseDebugLibNull\BaseDebugLibNull
+ $(MAKE) $(MAKE_FLAGS)
+ cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePrintLib\BasePrintLib
+ $(MAKE) $(MAKE_FLAGS)
+ cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseMemoryLib\BaseMemoryLib
+ $(MAKE) $(MAKE_FLAGS)
+ cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BaseLib\BaseLib
+ $(MAKE) $(MAKE_FLAGS)
+ cd $(BUILD_DIR)\$(ARCH)\MdePkg\Library\BasePeCoffLib\BasePeCoffLib
+ $(MAKE) $(MAKE_FLAGS)
#
# Individual Object Build Targets