From c15c888908e739710b0a45b638e505b62e43068b Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 5 Mar 2009 00:44:05 +0000 Subject: Remove 'BASETOOLS_DIR' variable. We assume basetools are in the PATH during a build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7802 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/GNUmakefile | 55 ++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 29 deletions(-) (limited to 'DuetPkg/BootSector') diff --git a/DuetPkg/BootSector/GNUmakefile b/DuetPkg/BootSector/GNUmakefile index e052620f83..d78d37fc64 100644 --- a/DuetPkg/BootSector/GNUmakefile +++ b/DuetPkg/BootSector/GNUmakefile @@ -1,33 +1,31 @@ -# Just use host GCC to compile boot sector image. -ASM=gcc +# Just use host GCC to compile boot sector image. +ASM=gcc DLINK=ld - -BASETOOLS_DIR=$(WORKSPACE)/Conf/BaseToolsSource/Source/C/bin - + ASSEMBLY_CODE_FILE_LIST = $(MODULE_DIR)/bootsect.S \ - $(MODULE_DIR)/bs16.S \ - $(MODULE_DIR)/bs32.S \ - $(MODULE_DIR)/efi32.S \ - $(MODULE_DIR)/Gpt.S \ - $(MODULE_DIR)/Mbr.S \ - $(MODULE_DIR)/start.S \ - $(MODULE_DIR)/start16.S \ + $(MODULE_DIR)/bs16.S \ + $(MODULE_DIR)/bs32.S \ + $(MODULE_DIR)/efi32.S \ + $(MODULE_DIR)/Gpt.S \ + $(MODULE_DIR)/Mbr.S \ + $(MODULE_DIR)/start.S \ + $(MODULE_DIR)/start16.S \ $(MODULE_DIR)/start32.S -TARGET_FILES = $(OUTPUT_DIR)/bootsect.com \ - $(OUTPUT_DIR)/bs16.com \ - $(OUTPUT_DIR)/bs32.com \ - $(OUTPUT_DIR)/Gpt.com \ - $(OUTPUT_DIR)/Mbr.com \ - $(OUTPUT_DIR)/start.com \ - $(OUTPUT_DIR)/start16.com \ +TARGET_FILES = $(OUTPUT_DIR)/bootsect.com \ + $(OUTPUT_DIR)/bs16.com \ + $(OUTPUT_DIR)/bs32.com \ + $(OUTPUT_DIR)/Gpt.com \ + $(OUTPUT_DIR)/Mbr.com \ + $(OUTPUT_DIR)/start.com \ + $(OUTPUT_DIR)/start16.com \ $(OUTPUT_DIR)/start32.com \ - $(OUTPUT_DIR)/efi32.com2 - #$(OUTPUT_DIR)/start64.com \ - #$(OUTPUT_DIR)/st16_64.com \ - #$(OUTPUT_DIR)/st32_64.com \ - #$(OUTPUT_DIR)/efi64.com2 - + $(OUTPUT_DIR)/efi32.com2 + #$(OUTPUT_DIR)/start64.com \ + #$(OUTPUT_DIR)/st16_64.com \ + #$(OUTPUT_DIR)/st32_64.com \ + #$(OUTPUT_DIR)/efi64.com2 + .PHONY : all all: $(TARGET_FILES) @@ -103,7 +101,7 @@ $(OUTPUT_DIR)/efi32.o: $(MODULE_DIR)/efi32.S $(OUTPUT_DIR)/efi32.com: $(OUTPUT_DIR)/efi32.o $(DLINK) --oformat binary -o $(OUTPUT_DIR)/efi32.com $(OUTPUT_DIR)/efi32.o -Ttext 0 -Map $(OUTPUT_DIR)/efi32.map $(OUTPUT_DIR)/efi32.com2: $(OUTPUT_DIR)/efi32.com - $(BASETOOLS_DIR)/Split -f $(OUTPUT_DIR)/efi32.com -p $(OUTPUT_DIR) -o efi32.com1 -p $(OUTPUT_DIR) -t efi32.com2 -s 135168 + Split -f $(OUTPUT_DIR)/efi32.com -p $(OUTPUT_DIR) -o efi32.com1 -p $(OUTPUT_DIR) -t efi32.com2 -s 135168 # efi64.S $(OUTPUT_DIR)/efi64.o: $(MODULE_DIR)/efi64.S @@ -111,15 +109,14 @@ $(OUTPUT_DIR)/efi64.o: $(MODULE_DIR)/efi64.S $(OUTPUT_DIR)/efi64.com: $(OUTPUT_DIR)/efi64.o $(DLINK) --oformat binary -o $(OUTPUT_DIR)/efi64.com $(OUTPUT_DIR)/efi64.o -Ttext 0 -Map $(OUTPUT_DIR)/efi64.map $(OUTPUT_DIR)/efi64.com2: $(OUTPUT_DIR)/efi64.com - $(BASETOOLS_DIR)/Split -f $(OUTPUT_DIR)/efi64.com -p $(OUTPUT_DIR) -o efi64.com1 -p $(OUTPUT_DIR) -t efi64.com2 -s 135168 + Split -f $(OUTPUT_DIR)/efi64.com -p $(OUTPUT_DIR) -o efi64.com1 -p $(OUTPUT_DIR) -t efi64.com2 -s 135168 clean: ifneq ($(OUTPUT_DIR), ) rm -r $(OUTPUT_DIR) endif ifneq ($(DEBUG_DIR), ) - rm -r $(DEBUG_DIR) + rm -r $(DEBUG_DIR) endif - -- cgit v1.2.3