From 36c4d46389c888b948448b34284af1d7dfd60508 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 15 Aug 2011 12:18:17 +0200 Subject: fix compile for arm target --- package/openjdk/patches/icedtea-arm-mkbc.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/openjdk/patches/icedtea-arm-mkbc.patch (limited to 'package/openjdk/patches/icedtea-arm-mkbc.patch') diff --git a/package/openjdk/patches/icedtea-arm-mkbc.patch b/package/openjdk/patches/icedtea-arm-mkbc.patch new file mode 100644 index 000000000..1d481740f --- /dev/null +++ b/package/openjdk/patches/icedtea-arm-mkbc.patch @@ -0,0 +1,26 @@ +--- w-openjdk-6-1.orig/icedtea6-1.10/patches/arm.patch 2011-02-23 23:32:32.909601440 +0100 ++++ w-openjdk-6-1/icedtea6-1.10/patches/arm.patch 2011-08-09 20:05:56.721765260 +0200 +@@ -25,7 +25,7 @@ + + + +offsets_arm.s: mkoffsets + + @echo Generating assembler offsets +-+ ./mkoffsets > $@ +++ $(QEMU) ./mkoffsets > $@ + + + +bytecodes_arm.s: bytecodes_arm.def mkbc + + @echo Generatine ARM assembler bytecode sequences +@@ -33,12 +33,12 @@ + + + +mkbc: $(GAMMADIR)/tools/mkbc.c + + @echo Compiling mkbc tool +-+ $(CC_COMPILE) -o $@ $< $(COMPILE_DONE) +++ $(CC_FOR_BUILD) -o $@ $< $(COMPILE_DONE) + + + +mkoffsets: asm_helper.cpp + + @echo Compiling offset generator + + $(QUIETLY) $(REMOVE_TARGET) +-+ $(CC_COMPILE) -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE) +++ $(CC_COMPILE) -static -DSTATIC_OFFSETS -o $@ $< $(COMPILE_DONE) + + + +endif + + -- cgit v1.2.3 From b6fed3d8f011df89e166b673a2bbee6d7bdee734 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 19 Aug 2011 19:46:02 +0200 Subject: use native ecj, comment some patches --- package/openjdk/patches/icedtea-arm-mkbc.patch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/openjdk/patches/icedtea-arm-mkbc.patch') diff --git a/package/openjdk/patches/icedtea-arm-mkbc.patch b/package/openjdk/patches/icedtea-arm-mkbc.patch index 1d481740f..9df3ebbf4 100644 --- a/package/openjdk/patches/icedtea-arm-mkbc.patch +++ b/package/openjdk/patches/icedtea-arm-mkbc.patch @@ -1,3 +1,6 @@ + + execute mkoffsets via Qemu and build mkbc with the host compiler. + --- w-openjdk-6-1.orig/icedtea6-1.10/patches/arm.patch 2011-02-23 23:32:32.909601440 +0100 +++ w-openjdk-6-1/icedtea6-1.10/patches/arm.patch 2011-08-09 20:05:56.721765260 +0200 @@ -25,7 +25,7 @@ -- cgit v1.2.3