new format vmlinuz/armel for Debian NSLU2 (etc.) linux kernel
This commit is contained in:
@@ -60,6 +60,8 @@ STUBS += armeb-linux.elf-entry.h
|
||||
STUBS += armeb-linux.elf-fold.h
|
||||
STUBS += armeb-linux.kernel.vmlinux.h
|
||||
STUBS += armeb-linux.kernel.vmlinux-head.h
|
||||
STUBS += armel-linux.kernel.vmlinuz.h
|
||||
STUBS += armel-linux.kernel.vmlinuz-head.h
|
||||
STUBS += arm.v4a-wince.pe.h
|
||||
STUBS += arm.v4t-wince.pe.h
|
||||
STUBS += i086-dos16.com.h
|
||||
@@ -801,6 +803,29 @@ i386-linux.kernel.vmlinux-head.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // armel-linux.kernel.vmlinuz
|
||||
# // armel-linux.kernel.vmlinuz-head
|
||||
# ************************************************************************/
|
||||
#
|
||||
armel-linux.kernel.vmlinu%.h : tc_list = armel-linux.kernel default
|
||||
armel-linux.kernel.vmlinu%.h : tc_bfdname = elf32-littlearm
|
||||
|
||||
tc.armel-linux.kernel.gcc = arm-linux-gcc-4.1.0 -march=armv5 -nostdinc -MMD -MT $@
|
||||
tc.armel-linux.kernel.gcc += -fno-exceptions -fno-asynchronous-unwind-tables
|
||||
tc.armel-linux.kernel.gcc += -Wall -W -Wcast-align -Wcast-qual -Wstrict-prototypes -Wwrite-strings -Werror
|
||||
|
||||
armel-linux.kernel.vmlinu%.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.bin
|
||||
$(call tc,f-embed_objinfo,tmp/$T.bin)
|
||||
$(call tc,bin2h-c) tmp/$T.bin $@
|
||||
|
||||
armel-linux.kernel.vmlinuz-head.h : $(srcdir)/src/$$T.S
|
||||
$(call tc,gcc) -c -x assembler-with-cpp $< -o tmp/$T.o
|
||||
$(call tc,objcopy) --output-target binary --only-section .text tmp/$T.o tmp/$T.bin
|
||||
$(call tc,bin2h) tmp/$T.bin $@
|
||||
|
||||
|
||||
# /***********************************************************************
|
||||
# // i386-win32.pe
|
||||
# ************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user