sg3-utils: add newer buildable version
[openembedded.git] / recipes / linux / linux-nokia800.inc
1 SECTION = "kernel"
2 DESCRIPTION = "Linux kernel for Nokia 770/800"
3 LICENSE = "GPLv2"
4
5 inherit kernel
6
7 RPROVIDES_kernel-image = "hostap-modules"
8
9 COMPATIBLE_MACHINE = "nokia770|nokia800"
10
11 RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
12
13 do_configure_prepend() {
14
15         rm -f ${S}/.config || true
16
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
24
25         sed     -e '/CONFIG_AEABI/d' \
26                 -e '/CONFIG_OABI_COMPAT=/d' \
27                 '${WORKDIR}/defconfig' >>'${S}/.config'
28
29         yes '' | oe_runmake oldconfig
30
31 }