Commit 17fad30f authored by Florent Revest's avatar Florent Revest

psplash: use full screen image

parent a9ae970d
/*
* pslash - a lightweight framebuffer splashscreen for embedded devices.
*
* Copyright (c) 2014 MenloSystems GmbH
* Author: Olaf Mandel <o.mandel@menlosystems.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _HAVE_PSPLASH_CONFIG_H
#define _HAVE_PSPLASH_CONFIG_H
/* Text to output on program start; if undefined, output nothing */
#define PSPLASH_STARTUP_MSG ""
/* Bool indicating if the image is fullscreen, as opposed to split screen */
#define PSPLASH_IMG_FULLSCREEN 1
/* Position of the image split from top edge, numerator of fraction */
#define PSPLASH_IMG_SPLIT_NUMERATOR 5
/* Position of the image split from top edge, denominator of fraction */
#define PSPLASH_IMG_SPLIT_DENOMINATOR 6
#endif
......@@ -2,13 +2,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS += "gdk-pixbuf-native"
SRC_URI += "file://psplash-colors.h \
file://psplash-bar-img.png \
file://psplash-config.h \
file://0001-Don-t-draw-progress-and-message-bar.patch \
"
SPLASH_IMAGES = "file://psplash-poky-img.png;outsuffix=default"
do_configure_append () {
cd ${S}
cp ../psplash-colors.h ./
cp ../psplash-config.h ./psplash-config.h
cp ../psplash-colors.h ./psplash-colors.h
cp ../psplash-bar-img.png ./psplash-bar.png
./make-image-header.sh ./psplash-bar.png BAR
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment