work on PackLinuxElf32arm, including nrv2d and lzma

This commit is contained in:
John Reiser
2006-07-19 17:29:17 -07:00
parent c7c21dc122
commit 98942f5528
9 changed files with 1437 additions and 222 deletions
+4 -2
View File
@@ -223,8 +223,10 @@ tc.arm-linux.elf.objdump = $(call tc,m-objdump)
tc.arm-linux.elf.objstrip = $(call tc,objcopy) -R .comment -R .note
arm-linux.elf-entry.h : $(srcdir)/src/$$T.S
$(call tc,gcc) -nostdlib $< -o tmp/$T.out
$(call tc,objcopy) --only-section .text -O binary tmp/$T.out tmp/$T.bin
$(call tc,gcc) -march=armv4 -c $< -o tmp/$T.bin
$(call tc,m-objcopy) -R .text -R .data -R .bss tmp/$T.bin
$(call tc,m-objcopy) -R .note -R .comment tmp/$T.bin
$(call tc,m-objdump) -trwh tmp/$T.bin >> tmp/$T.bin
$(call tc,bin2h) --ident=linux_elf32arm_loader tmp/$T.bin $@
arm-linux.elf-fold.h : tmp/$$T.o tmp/arm-linux.elf-main.o $(srcdir)/src/$$T.lds