diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-10 04:30:33 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-10 04:30:33 +0000 |
commit | 69b1c0214f61bc6f57f8ed1dfc2eb1f436ab423e (patch) | |
tree | 93624b588aff06bf2246a791e811b0d3d50ae49c /DuetPkg/BootSector/GNUmakefile | |
parent | dee34318467c96af32cd123b0082e8498173e24a (diff) | |
download | edk2-platforms-69b1c0214f61bc6f57f8ed1dfc2eb1f436ab423e.tar.xz |
DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.
Partly contributed by Sergey Isakov [isakov-sl@bk.ru].
Signed-off-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12921 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector/GNUmakefile')
-rw-r--r-- | DuetPkg/BootSector/GNUmakefile | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/DuetPkg/BootSector/GNUmakefile b/DuetPkg/BootSector/GNUmakefile index 66298daf3b..dc26e1f9ec 100644 --- a/DuetPkg/BootSector/GNUmakefile +++ b/DuetPkg/BootSector/GNUmakefile @@ -1,7 +1,7 @@ ## @file
# Just use host GCC to compile boot sector image.
#
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -20,11 +20,15 @@ ASSEMBLY_CODE_FILE_LIST = $(MODULE_DIR)/bootsect.S \ $(MODULE_DIR)/bs16.S \ $(MODULE_DIR)/bs32.S \ $(MODULE_DIR)/efi32.S \ + $(MODULE_DIR)/efi64.S \ $(MODULE_DIR)/Gpt.S \ $(MODULE_DIR)/Mbr.S \ $(MODULE_DIR)/start.S \ $(MODULE_DIR)/start16.S \ - $(MODULE_DIR)/start32.S + $(MODULE_DIR)/start32.S \ + $(MODULE_DIR)/start64.S \ + $(MODULE_DIR)/st16_64.S \ + $(MODULE_DIR)/st32_64.S TARGET_FILES = $(OUTPUT_DIR)/bootsect.com \ $(OUTPUT_DIR)/bs16.com \ @@ -34,11 +38,11 @@ TARGET_FILES = $(OUTPUT_DIR)/bootsect.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) @@ -98,16 +102,16 @@ $(OUTPUT_DIR)/start64.com: $(OUTPUT_DIR)/start64.o $(DLINK) --oformat binary -o $(OUTPUT_DIR)/start64.com $(OUTPUT_DIR)/start64.o -Ttext 0 -Map $(OUTPUT_DIR)/start64.map # start16_64.S -$(OUTPUT_DIR)/start16_64.o: $(MODULE_DIR)/start16_64.S - $(ASM) -c -o $(OUTPUT_DIR)/start16_64.o $(MODULE_DIR)/start16_64.S -$(OUTPUT_DIR)/start16_64.com: $(OUTPUT_DIR)/start16_64.o - $(DLINK) --oformat binary -o $(OUTPUT_DIR)/start16_64.com $(OUTPUT_DIR)/start16_64.o -Ttext 0 -Map $(OUTPUT_DIR)/start16_64.map +$(OUTPUT_DIR)/st16_64.o: $(MODULE_DIR)/st16_64.S + $(ASM) -c -o $(OUTPUT_DIR)/st16_64.o $(MODULE_DIR)/st16_64.S +$(OUTPUT_DIR)/st16_64.com: $(OUTPUT_DIR)/st16_64.o + $(DLINK) --oformat binary -o $(OUTPUT_DIR)/st16_64.com $(OUTPUT_DIR)/st16_64.o -Ttext 0 -Map $(OUTPUT_DIR)/st16_64.map # start32_64.S -$(OUTPUT_DIR)/start32_64.o: $(MODULE_DIR)/start32_64.S - $(ASM) -c -o $(OUTPUT_DIR)/start32_64.o $(MODULE_DIR)/start32_64.S -$(OUTPUT_DIR)/start32_64.com: $(OUTPUT_DIR)/start32_64.o - $(DLINK) --oformat binary -o $(OUTPUT_DIR)/start32_64.com $(OUTPUT_DIR)/start32_64.o -Ttext 0 -Map $(OUTPUT_DIR)/start32_64.map +$(OUTPUT_DIR)/st32_64.o: $(MODULE_DIR)/st32_64.S + $(ASM) -c -o $(OUTPUT_DIR)/st32_64.o $(MODULE_DIR)/st32_64.S +$(OUTPUT_DIR)/st32_64.com: $(OUTPUT_DIR)/st32_64.o + $(DLINK) --oformat binary -o $(OUTPUT_DIR)/st32_64.com $(OUTPUT_DIR)/st32_64.o -Ttext 0 -Map $(OUTPUT_DIR)/st32_64.map # efi32.S $(OUTPUT_DIR)/efi32.o: $(MODULE_DIR)/efi32.S |