Gitweb links:
...log
http://git.netsurf-browser.org/toolchains.git/shortlog/4329e0e47562606ce4f0fd5b54351fb3cf435944
...commit
http://git.netsurf-browser.org/toolchains.git/commit/4329e0e47562606ce4f0fd5b54351fb3cf435944
...tree
http://git.netsurf-browser.org/toolchains.git/tree/4329e0e47562606ce4f0fd5b54351fb3cf435944
The branch, master has been updated
via 4329e0e47562606ce4f0fd5b54351fb3cf435944 (commit)
from ccd770b426250582b71484a2ca8ee75930c109e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/toolchains.git/commit/?id=4329e0e47562606ce4f0fd5b54351fb3cf435944
commit 4329e0e47562606ce4f0fd5b54351fb3cf435944
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Apparently the libjpeg multiplier should be short on m68k for best
performance.
diff --git a/sdk/Makefile b/sdk/Makefile
index c14ba3e..cc08879 100644
--- a/sdk/Makefile
+++ b/sdk/Makefile
@@ -382,6 +382,9 @@ $(BUILDSTEPS)/libjpeg.d: $(BUILDSTEPS)/builddir.d
$(BUILDSTEPS)/libjpeg-src.d
mkdir -p $(BUILDDIR)/libjpeg
cd $(BUILDDIR)/libjpeg && tar xaf
$(SOURCEDIR)/jpegsrc.v$(VERSION_LIBJPEG).tar.gz
for p in `ls $(RECIPES)/patches/libjpeg/*.p` ; do $(PATCH) -d
$(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) -p0 <$$p ; done
+ifneq ($(realpath $(RECIPES)/patches/libjpeg/$(TARGET)),)
+ for p in `ls $(RECIPES)/patches/libjpeg/$(TARGET)/*.p` ; do $(PATCH) -d
$(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) -p0 <$$p ; done
+endif
cd $(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) && $(env) $(LIBJPEG_ENV)
./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET)
--disable-shared
cd $(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) && $(env) make install
touch $@
diff --git a/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
b/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
new file mode 100644
index 0000000..96b5480
--- /dev/null
+++ b/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
@@ -0,0 +1,11 @@
+--- jmorecfg.h 2016-07-10 00:36:02.965024562 +0100
++++ jmorecfg.h 2016-07-10 00:37:55.525024349 +0100
+@@ -346,7 +346,7 @@ typedef int boolean;
+ */
+
+ #ifndef MULTIPLIER
+-#define MULTIPLIER int /* type for fastest integer multiply */
++#define MULTIPLIER short /* type for fastest integer multiply */
+ #endif
+
+
diff --git a/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
b/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
new file mode 100644
index 0000000..96b5480
--- /dev/null
+++ b/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
@@ -0,0 +1,11 @@
+--- jmorecfg.h 2016-07-10 00:36:02.965024562 +0100
++++ jmorecfg.h 2016-07-10 00:37:55.525024349 +0100
+@@ -346,7 +346,7 @@ typedef int boolean;
+ */
+
+ #ifndef MULTIPLIER
+-#define MULTIPLIER int /* type for fastest integer multiply */
++#define MULTIPLIER short /* type for fastest integer multiply */
+ #endif
+
+
-----------------------------------------------------------------------
Summary of changes:
sdk/Makefile | 3 +++
sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p | 11 +++++++++++
.../patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p | 11 +++++++++++
3 files changed, 25 insertions(+)
create mode 100644 sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
create mode 100644
sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
diff --git a/sdk/Makefile b/sdk/Makefile
index c14ba3e..cc08879 100644
--- a/sdk/Makefile
+++ b/sdk/Makefile
@@ -382,6 +382,9 @@ $(BUILDSTEPS)/libjpeg.d: $(BUILDSTEPS)/builddir.d
$(BUILDSTEPS)/libjpeg-src.d
mkdir -p $(BUILDDIR)/libjpeg
cd $(BUILDDIR)/libjpeg && tar xaf
$(SOURCEDIR)/jpegsrc.v$(VERSION_LIBJPEG).tar.gz
for p in `ls $(RECIPES)/patches/libjpeg/*.p` ; do $(PATCH) -d
$(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) -p0 <$$p ; done
+ifneq ($(realpath $(RECIPES)/patches/libjpeg/$(TARGET)),)
+ for p in `ls $(RECIPES)/patches/libjpeg/$(TARGET)/*.p` ; do $(PATCH) -d
$(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) -p0 <$$p ; done
+endif
cd $(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) && $(env) $(LIBJPEG_ENV)
./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET)
--disable-shared
cd $(BUILDDIR)/libjpeg/jpeg-$(VERSION_LIBJPEG) && $(env) make install
touch $@
diff --git a/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
b/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
new file mode 100644
index 0000000..96b5480
--- /dev/null
+++ b/sdk/recipes/patches/libjpeg/m68k-atari-mint/jmorecfg.h.p
@@ -0,0 +1,11 @@
+--- jmorecfg.h 2016-07-10 00:36:02.965024562 +0100
++++ jmorecfg.h 2016-07-10 00:37:55.525024349 +0100
+@@ -346,7 +346,7 @@ typedef int boolean;
+ */
+
+ #ifndef MULTIPLIER
+-#define MULTIPLIER int /* type for fastest integer multiply */
++#define MULTIPLIER short /* type for fastest integer multiply */
+ #endif
+
+
diff --git a/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
b/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
new file mode 100644
index 0000000..96b5480
--- /dev/null
+++ b/sdk/recipes/patches/libjpeg/m68k-unknown-amigaos/jmorecfg.h.p
@@ -0,0 +1,11 @@
+--- jmorecfg.h 2016-07-10 00:36:02.965024562 +0100
++++ jmorecfg.h 2016-07-10 00:37:55.525024349 +0100
+@@ -346,7 +346,7 @@ typedef int boolean;
+ */
+
+ #ifndef MULTIPLIER
+-#define MULTIPLIER int /* type for fastest integer multiply */
++#define MULTIPLIER short /* type for fastest integer multiply */
+ #endif
+
+
--
Cross-compilation toolchains and environments
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org