summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector/GNUmakefile
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-05 00:44:05 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-05 00:44:05 +0000
commitc15c888908e739710b0a45b638e505b62e43068b (patch)
tree1981ad6c97cdd51cb02c084968b639e2e9a9ff4c /DuetPkg/BootSector/GNUmakefile
parentbda0735ba8da32c6534e4d872186517a40c6d64e (diff)
downloadedk2-platforms-c15c888908e739710b0a45b638e505b62e43068b.tar.xz
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
Diffstat (limited to 'DuetPkg/BootSector/GNUmakefile')
-rw-r--r--DuetPkg/BootSector/GNUmakefile55
1 files changed, 26 insertions, 29 deletions
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
-