chinook-compat: add new toolchain options and stick to util-linux
[openembedded.git] / recipes / linux / linux-nokia800.inc
blob0f52b7c3b3f95f8f0c9be83c9709a9feb2330096
1 SECTION = "kernel"
2 DESCRIPTION = "Linux kernel for Nokia 770/800"
3 LICENSE = "GPL"
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