diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-03 04:29:29 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-03 04:29:29 +0000 |
commit | c521660aa159701d670f7e6a9956f5d90125fb87 (patch) | |
tree | 80a26829584c1c8b0aa76526960dc67f264276eb /DuetPkg/BootSector | |
parent | a86ae18460bdbc34d141b92c1e3a782b57e47599 (diff) | |
download | edk2-c521660aa159701d670f7e6a9956f5d90125fb87.tar.gz edk2-c521660aa159701d670f7e6a9956f5d90125fb87.tar.bz2 edk2-c521660aa159701d670f7e6a9956f5d90125fb87.zip |
Linux split replaced by BaseTools Split.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7776 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector')
-rw-r--r-- | DuetPkg/BootSector/GNUmakefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/DuetPkg/BootSector/GNUmakefile b/DuetPkg/BootSector/GNUmakefile index 2b513c6e86..e052620f83 100644 --- a/DuetPkg/BootSector/GNUmakefile +++ b/DuetPkg/BootSector/GNUmakefile @@ -1,6 +1,8 @@ # Just use host GCC to compile boot sector image.
ASM=gcc
-DLINK=ld
+DLINK=ld +
+BASETOOLS_DIR=$(WORKSPACE)/Conf/BaseToolsSource/Source/C/bin ASSEMBLY_CODE_FILE_LIST = $(MODULE_DIR)/bootsect.S \ $(MODULE_DIR)/bs16.S \
@@ -101,9 +103,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 - split -b 135168 $(OUTPUT_DIR)/efi32.com - mv xaa $(OUTPUT_DIR)/efi32.com1 - mv xab $(OUTPUT_DIR)/efi32.com2 + $(BASETOOLS_DIR)/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,10 +111,7 @@ $(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 - split -b 135168 $(OUTPUT_DIR)/efi64.com - mv xaa $(OUTPUT_DIR)/efi64.com1 - mv xab $(OUTPUT_DIR)/efi64.com2 - + $(BASETOOLS_DIR)/Split -f $(OUTPUT_DIR)/efi64.com -p $(OUTPUT_DIR) -o efi64.com1 -p $(OUTPUT_DIR) -t efi64.com2 -s 135168 clean: ifneq ($(OUTPUT_DIR), ) |