psplash: only set image for MACHINE=raspberrypi

Instead of overriding the default psplash image, the raspberrypi image is added
as an additional image. It is then set as the default in the raspberrypi machine
config file so that other targets do not pick up our splash image.

Tested on raspberrpi and qemuarm: on raspberrypi I see to Raspberry Pi logo, on
qemuarm I see the Yocto Project logo.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
This commit is contained in:
Paul Barker 2013-05-22 09:39:41 +01:00 committed by Andrei Gherzan
parent 26000aace1
commit ac879f9e21
2 changed files with 4 additions and 1 deletions

View File

@ -32,3 +32,6 @@ MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
MACHINE_EXTRA_RRECOMMENDS += " \ MACHINE_EXTRA_RRECOMMENDS += " \
kernel-modules \ kernel-modules \
" "
# Set raspberrypi splash image
SPLASH = "psplash-raspberrypi"

View File

@ -1,2 +1,2 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SPLASH_IMAGES = "file://psplash-raspberrypi-img.h;outsuffix=default" SPLASH_IMAGES += "file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"