removed multiboot kludge; using ELF kernel with different virtual and load addresses
git-svn-id: svn://anubis/hos/trunk@71 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
1 parent
44c6bac2af
commit
cf7287d368
4 files changed
+69
-21
No files matched your search
+2
-2
@@ -26,8 +26,8 @@ $(KERNEL).gz: $(KERNEL)
|
||||
|
||||
$(KERNEL): $(KERNEL).o
|
||||
$(LD) $(LDFLAGS) -o $@ $<
|
||||
$(LD) $(LDFLAGS) --oformat=elf32-i386 -o $@.elf $<
|
||||
$(OBJDUMP) --disassemble --source $@.elf > $@.dump
|
||||
$(OBJDUMP) --disassemble --source $@ > $@.dump
|
||||
strip $@
|
||||
|
||||
$(KERNEL).o: $(SUBDIRS)
|
||||
$(LD) -r -o $@ $(foreach subdir,$(SUBDIRS),$(subdir)/$(subdir)_all.o) $(LDLIBS)
|
||||
|
||||
Reference in new issue
Block a user