diff options
Diffstat (limited to 'packages/linux/linux-openzaurus.inc')
-rw-r--r-- | packages/linux/linux-openzaurus.inc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus.inc b/packages/linux/linux-openzaurus.inc index e99bd07316..64da31ea7a 100644 --- a/packages/linux/linux-openzaurus.inc +++ b/packages/linux/linux-openzaurus.inc @@ -107,6 +107,43 @@ do_configure() { echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config fi + if [ "${DISTRO}" == "openzaurus" ]; then + case ${MACHINE} in + c7x0 | akita | spitz ) + echo "CONFIG_LOGO_OZ640_CLUT224=y" >> ${S}/.config + echo "# CONFIG_LOGO_OZ480_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config + ;; + tosa ) + echo "CONFIG_LOGO_OZ480_CLUT224=y" >> ${S}/.config + echo "# CONFIG_LOGO_OZ640_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config + ;; + poodle | collie ) + echo "CONFIG_LOGO_OZ240_CLUT224=y" >> ${S}/.config + echo "# CONFIG_LOGO_OZ640_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ480_CLUT224 is not set" >> ${S}/.config + ;; + esac + echo "CONFIG_LOGO=y" >> ${S}/.config + echo "# CONFIG_LOGO_LINUX_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OHAND_CLUT224 is not set" >> ${S}/.config + elif [ "${DISTRO}" == "poky" ]; then + echo "CONFIG_LOGO=y" >> ${S}/.config + echo "CONFIG_LOGO_OHAND_CLUT224=y" >> ${S}/.config + echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ480_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ640_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_LINUX_CLUT224 is not set" >> ${S}/.config + else + echo "# CONFIG_LOGO is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OHAND_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_LINUX_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ240_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ480_CLUT224 is not set" >> ${S}/.config + echo "# CONFIG_LOGO_OZ640_CLUT224 is not set" >> ${S}/.config + fi + sed -e '/CONFIG_AEABI/d' \ -e '/CONFIG_OABI_COMPAT=/d' \ -e '/CONFIG_CMDLINE=/d' \ @@ -114,6 +151,12 @@ do_configure() { -e '/CONFIG_MTDRAM_TOTAL_SIZE=/d' \ -e '/CONFIG_MTDRAM_ERASE_SIZE=/d' \ -e '/CONFIG_MTDRAM_ABS_POS=/d' \ + -e '/CONFIG_LOGO=/d' \ + -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \ + -e '/CONFIG_LOGO_OHAND_CLUT224=/d' \ + -e '/CONFIG_LOGO_OZ240_CLUT224=/d' \ + -e '/CONFIG_LOGO_OZ480_CLUT224=/d' \ + -e '/CONFIG_LOGO_OZ640_CLUT224=/d' \ '${WORKDIR}/defconfig-${MACHINE}' >>'${S}/.config' yes '' | oe_runmake oldconfig |