diff options
author | Kristoffer Ericson <kristoffer_e1@hotmail.com> | 2006-05-28 03:34:26 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-28 03:34:26 +0000 |
commit | f48d479768b6aaf997169b8019c7978547bfbf15 (patch) | |
tree | d8208d612c48de3f0667da90b431d23e47d92691 /packages | |
parent | 52146596f05520a8bf85ec7f77ba19038acbfbb2 (diff) |
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
Diffstat (limited to 'packages')
-rw-r--r-- | packages/pcmcia-cs/pcmcia-cs-3.2.8/superh-noO3.patch | 11 | ||||
-rw-r--r-- | packages/pcmcia-cs/pcmcia-cs_3.2.8.bb | 2 |
2 files changed, 13 insertions, 0 deletions
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" |