From b9a31177c8c8bd8178a17c04c41724f42fa54b9a Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 23 Apr 2008 08:57:31 +0000 Subject: init target should not be used in customize makefile. Fix it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5115 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/BootSector.inf | 6 ------ DuetPkg/BootSector/Makefile | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'DuetPkg/BootSector') diff --git a/DuetPkg/BootSector/BootSector.inf b/DuetPkg/BootSector/BootSector.inf index df6106e30f..166dc01e3a 100644 --- a/DuetPkg/BootSector/BootSector.inf +++ b/DuetPkg/BootSector/BootSector.inf @@ -22,9 +22,3 @@ Start32.asm Efi32.asm -[BuildOptions.common] - #MSFT:*_*_IA32_DLINK_FLAGS = /out:"$(BIN_DIR)\SecMain.exe" /base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib - MSFT:*_*_IA32_CC_FLAGS = /nologo /W4 /WX /Gy /c /D UNICODE /Od /FI$(DEST_DIR_DEBUG)/AutoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE - MSFT:*_*_IA32_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h - MSFT:*_*_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi - MSFT:*_*_IA32_ASMLINK_FLAGS = /link /nologo /tiny diff --git a/DuetPkg/BootSector/Makefile b/DuetPkg/BootSector/Makefile index fc24f37677..64177245ce 100644 --- a/DuetPkg/BootSector/Makefile +++ b/DuetPkg/BootSector/Makefile @@ -167,12 +167,8 @@ LIBS = COMMON_DEPS = -all: init $(TARGET_FILES) loader +all: $(TARGET_FILES) loader -init: - if not exist $(OUTPUT_DIR) mkdir $(OUTPUT_DIR) - if not exist $(DEBUG_DIR) mkdir $(DEBUG_DIR) - #============= $(OUTPUT_DIR)\bootsect.obj:$(MODULE_DIR)\bootsect.asm $(ASM) /c /omf /Fo"$(OUTPUT_DIR)\bootsect.obj" /FR"$(OUTPUT_DIR)\bootsect.txt" "$(MODULE_DIR)\bootsect.asm" -- cgit v1.2.3