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 +----- DuetPkg/DuetPkg.dsc | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) (limited to 'DuetPkg') diff --git a/DuetPkg/BootSector/BootSector.inf b/DuetPkg/BootSector/BootSector.inf index df6106e..166dc01 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 fc24f37..6417724 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" diff --git a/DuetPkg/DuetPkg.dsc b/DuetPkg/DuetPkg.dsc index 924ea09..46b6178 100644 --- a/DuetPkg/DuetPkg.dsc +++ b/DuetPkg/DuetPkg.dsc @@ -9,7 +9,7 @@ SUPPORTED_ARCHITECTURES = IA32|X64 BUILD_TARGETS = DEBUG SKUID_IDENTIFIER = DEFAULT - #FLASH_DEFINITION = DuetPkg/DuetPkg.fdf + FLASH_DEFINITION = DuetPkg/DuetPkg.fdf [LibraryClasses.common] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf -- cgit v1.1