From f48d479768b6aaf997169b8019c7978547bfbf15 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Sun, 28 May 2006 03:34:26 +0000 Subject: packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch: Lowers Optimization * Sets -O2 instead of -O3 (otherwise 'pcrel too far' error) packages/pcmcia-cs/pcmcia-cs_3.2.8.bb: Including patch for sh3 * Sets usage of patch specific to sh3 --- packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch | 11 +++++++++++ packages/pcmcia-cs/pcmcia-cs_3.2.8.bb | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch diff --git a/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch b/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch new file mode 100644 index 0000000000..ca28688f04 --- /dev/null +++ b/packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch @@ -0,0 +1,11 @@ +--- pcmcia-cs-3.2.8/rules.mk_orig 2006-05-26 23:23:12.000000000 +0000 ++++ pcmcia-cs-3.2.8/rules.mk 2006-05-26 23:23:18.000000000 +0000 +@@ -1,7 +1,7 @@ + # Global defaults + + # Kernel compiles must have optimization enabled! +-CFLAGS = -O3 -Wall -Wstrict-prototypes -pipe $(WFLAG) ++CFLAGS = -O2 -Wall -Wstrict-prototypes -pipe $(WFLAG) + COFLAGS = -kv + YFLAGS = -d + diff --git a/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb b/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb index 1db3006e14..4ca5377b2c 100644 --- a/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb +++ b/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb @@ -20,6 +20,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \ file://wnv.conf" SRC_URI_append_spitz = " file://nocleanup.patch;patch=1" +SRC_URI_append_sh3 = " file://superh-noO3.patch;patch=1" + S = "${WORKDIR}/pcmcia-cs-${PV}" INITSCRIPT_NAME = "pcmcia" -- cgit v1.2.3