linux-2.6.34: remove c7x0 patch from SRC_URI override as that file was removed in...
[openembedded.git] / recipes / linux / linux-nokia800.inc
blobf6d14d58b4b7a6d7ad5225d67a9fe2fbc1ab872e
1 SECTION = "kernel"
2 DESCRIPTION = "Linux kernel for Nokia 770/800"
3 LICENSE = "GPLv2"
5 inherit kernel
7 RPROVIDES_kernel-image = "hostap-modules"
9 COMPATIBLE_MACHINE = "nokia770|nokia800"
11 RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
13 do_configure_prepend() {
15         rm -f ${S}/.config || true
17         if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
18                 echo "CONFIG_AEABI=y"                   >> ${S}/.config
19                 echo "CONFIG_OABI_COMPAT=y"             >> ${S}/.config
20         else
21                 echo "# CONFIG_AEABI is not set"        >> ${S}/.config
22                 echo "# CONFIG_OABI_COMPAT is not set"  >> ${S}/.config
23         fi
25         sed     -e '/CONFIG_AEABI/d' \
26                 -e '/CONFIG_OABI_COMPAT=/d' \
27                 '${WORKDIR}/defconfig' >>'${S}/.config'
29         yes '' | oe_runmake oldconfig