diff options
author | Koen Kooi <koen@openembedded.org> | 2006-04-17 18:21:56 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-04-17 18:21:56 +0000 |
commit | 7db1c1b79aeb4663616291a9cbfc98e5e60ac189 (patch) | |
tree | 646935e7ba375c6d4654b81846556ba292d1e444 /packages/linux | |
parent | 8bf93ca12d6ec7b3fb03c96829af640480e1373e (diff) |
handhelds-pxa 2.6 cvs: turn on EABI for eabi target, inspired by linux-openzaurus.inc
Diffstat (limited to 'packages/linux')
-rw-r--r-- | packages/linux/handhelds-pxa-2.6_cvs.bb | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/linux/handhelds-pxa-2.6_cvs.bb b/packages/linux/handhelds-pxa-2.6_cvs.bb index fec375dd59..af3cae9b73 100644 --- a/packages/linux/handhelds-pxa-2.6_cvs.bb +++ b/packages/linux/handhelds-pxa-2.6_cvs.bb @@ -26,7 +26,25 @@ HHV = "0" KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}" do_configure() { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "No default configuration for ${MACHINE} available." + rm -f ${S}/.config + + if [ ! -e ${WORKDIR}/defconfig ]; then + die "No default configuration for ${MACHINE} available." + fi + + + if [ "${TARGET_OS}" == "linux-gnueabi" ]; then + echo "CONFIG_AEABI=y" >> ${S}/.config + echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config + else + echo "# CONFIG_AEABI is not set" >> ${S}/.config + echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config + fi + + sed -e '/CONFIG_AEABI/d' \ + -e '/CONFIG_OABI_COMPAT=/d' \ + '${WORKDIR}/defconfig' >>'${S}/.config' + yes '' | oe_runmake oldconfig } |