From 276505761d55c8b8b1af7bbeacc1c14b9b2b4791 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 7 Sep 2007 07:07:49 +0000 Subject: linux.inc: add configure magic for replacing bootlogo --- packages/linux/linux.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages') diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index abd7c7a9d2..8a3a36a66b 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -25,6 +25,12 @@ CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfs do_configure_prepend() { echo "" > ${S}/.config + if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then + install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm + echo "CONFIG_LOGO=y" >> ${S}/.config + echo "CONFIG_LOGO_LINUX_CLUT224=y" >> ${S}/.config + fi + if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then echo "CONFIG_AEABI=y" >> ${S}/.config echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config @@ -38,6 +44,8 @@ do_configure_prepend() { sed -e '/CONFIG_AEABI/d' \ -e '/CONFIG_OABI_COMPAT=/d' \ -e '/CONFIG_CMDLINE=/d' \ + -e '/CONFIG_LOGO=/d' \ + -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \ < '${WORKDIR}/defconfig' >>'${S}/.config' yes '' | oe_runmake oldconfig -- cgit v1.2.3