vmlinux/i386: fix filters, 0x400000 start, integration with kernel build

This commit is contained in:
John Reiser
2006-10-14 14:52:30 -07:00
parent b31b8cd7f0
commit 6891bc3da3
4 changed files with 120 additions and 46 deletions
+8 -1
View File
@@ -70,7 +70,7 @@ STUBS += i386-linux.elf.interp-entry.h
STUBS += i386-linux.elf.interp-fold.h
STUBS += i386-linux.elf.shell-entry.h
STUBS += i386-linux.elf.shell-fold.h
STUBS += i386-linux.kernel.vmlinux.h
STUBS += i386-linux.kernel.vmlinux.h i386-linux.kernel.head-vmlinux.h
STUBS += i386-linux.kernel.vmlinuz.h
STUBS += i386-win32.pe.h
STUBS += m68k-atari.tos.h
@@ -581,6 +581,13 @@ i386-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
$(call tc,f-embed_objinfo,tmp/$T.bin)
$(call tc,bin2h) --ident=nrv_loader tmp/$T.bin $@
i386-linux.kernel.head-vmlinux.h : tc_list = arch-i386 default
i386-linux.kernel.head-vmlinux.h : $(srcdir)/src/$$T.S
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.tmp
$(call tc,objcopy) --output-target binary --only-section .text tmp/$T.tmp tmp/$T.bin
$(call tc,bin2h) --ident=head_stack tmp/$T.bin $@
# /***********************************************************************
# // i386-win32.pe