Skip to contentSkip to conversation

kvm tools, bios: Rename bios.S to entry.S

PATCH New Pekka Enberg 1 participant 1 message Aug 12, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm tools, bios: Rename bios.S to entry.S

This patch renames bios.S to entry.S to make it more obvious what the file contains. There's already too much source files with the word "bios" in their names.

Cc Cyrill Gorcunov <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Sasha Levin <[email protected]>
---
 tools/kvm/Makefile                 |    8 ++++----
 tools/kvm/bios/{bios.S => entry.S} |    0
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename tools/kvm/bios/{bios.S => entry.S} (100%)
tools/kvm/Makefile +4 -4
index 5bde355..3a06e10 100644
@@ -199,17 +199,17 @@ BIOS_CFLAGS += -mregparm=3
 
 bios.o: bios/bios.bin bios/bios-rom.h
 
-bios/bios.bin.elf: bios/bios.S bios/e820.c bios/int10.c bios/int15.c bios/rom.ld.S
+bios/bios.bin.elf: bios/entry.S bios/e820.c bios/int10.c bios/int15.c bios/rom.ld.S
 	$(E) "  CC       bios/e820.o"
 	$(Q) $(CC) -include code16gcc.h $(CFLAGS) $(BIOS_CFLAGS) -c -s bios/e820.c -o bios/e820.o
 	$(E) "  CC       bios/int10.o"
 	$(Q) $(CC) -include code16gcc.h $(CFLAGS) $(BIOS_CFLAGS) -c -s bios/int10.c -o bios/int10.o
 	$(E) "  CC       bios/int15.o"
 	$(Q) $(CC) -include code16gcc.h $(CFLAGS) $(BIOS_CFLAGS) -c -s bios/int15.c -o bios/int15.o
-	$(E) "  CC       bios/bios.o"
-	$(Q) $(CC) $(CFLAGS) $(BIOS_CFLAGS) -c -s bios/bios.S -o bios/bios.o
+	$(E) "  CC       bios/entry.o"
+	$(Q) $(CC) $(CFLAGS) $(BIOS_CFLAGS) -c -s bios/entry.S -o bios/entry.o
 	$(E) "  LD      " $@
-	$(Q) ld -T bios/rom.ld.S -o bios/bios.bin.elf bios/bios.o bios/e820.o bios/int10.o bios/int15.o
+	$(Q) ld -T bios/rom.ld.S -o bios/bios.bin.elf bios/entry.o bios/e820.o bios/int10.o bios/int15.o
 
 bios/bios.bin: bios/bios.bin.elf
 	$(E) "  OBJCOPY " $@
tools/kvm/bios/entry.S renamed from tools/kvm/bios/bios.S +0 -0
similarity index 100%
rename from tools/kvm/bios/bios.S
rename to tools/kvm/bios/entry.S
Signature · 1 line
1.7.0.4