summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-04-27 10:08:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-27 10:08:24 +0000
commitaecd7412b859e591f25c4a38d850bf8122a60947 (patch)
tree09def04c6bee04dcd7452f0e368d8a22ea5545d2 /packages
parent3b71794d255a42b20f4fe98a743f18f217ae9285 (diff)
hh-pxa 2.6 cvs: add patch to fix enums problems with eabi
Diffstat (limited to 'packages')
-rw-r--r--packages/linux/handhelds-pxa-2.6/eabi-enums.patch16
-rw-r--r--packages/linux/handhelds-pxa-2.6_cvs.bb2
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.6/eabi-enums.patch b/packages/linux/handhelds-pxa-2.6/eabi-enums.patch
new file mode 100644
index 0000000000..9e5e9ec571
--- /dev/null
+++ b/packages/linux/handhelds-pxa-2.6/eabi-enums.patch
@@ -0,0 +1,16 @@
+Index: linux-2.6.16/arch/arm/Makefile
+===================================================================
+--- linux-2.6.16.orig/arch/arm/Makefile 2006-03-20 05:53:29.000000000 +0000
++++ linux-2.6.16/arch/arm/Makefile 2006-04-24 20:10:27.000000000 +0100
+@@ -57,7 +57,7 @@
+ tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
+
+ ifeq ($(CONFIG_AEABI),y)
+-CFLAGS_ABI :=-mabi=aapcs -mno-thumb-interwork
++CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork
+ else
+ CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
+ endif
+
+
+
diff --git a/packages/linux/handhelds-pxa-2.6_cvs.bb b/packages/linux/handhelds-pxa-2.6_cvs.bb
index af3cae9b73..0423268abe 100644
--- a/packages/linux/handhelds-pxa-2.6_cvs.bb
+++ b/packages/linux/handhelds-pxa-2.6_cvs.bb
@@ -3,12 +3,14 @@ DESCRIPTION = "handhelds.org Linux kernel for PXA based devices."
MAINTAINER = "Greg Gilbert <greg@treke.net>"
LICENSE = "GPL"
PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}"
+PR = "r1"
#
COMPATIBLE_HOST = "arm.*-linux"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}"
SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \
+ file://eabi-enums.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/kernel26"