icedtea-arm-mkbc.patch 887 B

1234567891011121314151617181920212223242526272829
  1. execute mkoffsets via Qemu and build mkbc with the host compiler.
  2. --- w-openjdk-6-1.orig/icedtea6-1.10/patches/arm.patch 2011-02-23 23:32:32.909601440 +0100
  3. +++ w-openjdk-6-1/icedtea6-1.10/patches/arm.patch 2011-08-09 20:05:56.721765260 +0200
  4. @@ -25,7 +25,7 @@
  5. +
  6. +offsets_arm.s: mkoffsets
  7. + @echo Generating assembler offsets
  8. -+ ./mkoffsets > $@
  9. ++ $(QEMU) ./mkoffsets > $@
  10. +
  11. +bytecodes_arm.s: bytecodes_arm.def mkbc
  12. + @echo Generatine ARM assembler bytecode sequences
  13. @@ -33,12 +33,12 @@
  14. +
  15. +mkbc: $(GAMMADIR)/tools/mkbc.c
  16. + @echo Compiling mkbc tool
  17. -+ $(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
  18. ++ $(CC_FOR_BUILD) -o $@ $< $(COMPILE_DONE)
  19. +
  20. +mkoffsets: asm_helper.cpp
  21. + @echo Compiling offset generator
  22. + $(QUIETLY) $(REMOVE_TARGET)
  23. -+ $(CC_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
  24. ++ $(CC_COMPILE) -static -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE)
  25. +
  26. +endif
  27. +