aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-07 07:07:49 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-07 07:07:49 +0000
commit276505761d55c8b8b1af7bbeacc1c14b9b2b4791 (patch)
tree0e503e90789a790f5c256714e2b2a7e2942f87f3
parent2c35b47f1ba174304724d2ad00ed1e2d68ed702e (diff)
downloadopenembedded-276505761d55c8b8b1af7bbeacc1c14b9b2b4791.tar.gz
openembedded-276505761d55c8b8b1af7bbeacc1c14b9b2b4791.tar.bz2
openembedded-276505761d55c8b8b1af7bbeacc1c14b9b2b4791.zip
linux.inc: add configure magic for replacing bootlogo
-rw-r--r--packages/linux/linux.inc8
1 files changed, 8 insertions, 0 deletions
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