psplash: allow overriding the splash logo image from Yocto
https://onedigi.atlassian.net/browse/DEL-9816 Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
ca9f16965f
commit
3b89442fdc
|
|
@ -1,6 +1,9 @@
|
||||||
# Copyright (C) 2016-2024, Digi International Inc.
|
# Copyright (C) 2016-2026, Digi International Inc.
|
||||||
|
|
||||||
FILESEXTRAPATHS:prepend:dey := "${THISDIR}/files:"
|
FILESEXTRAPATHS:prepend:dey := "${THISDIR}/files:"
|
||||||
|
SPLASH_LOGO_PNG ?= "${WORKDIR}/digi_logo.png"
|
||||||
|
|
||||||
|
SPLASH_IMAGES = "file://logo.png;outsuffix=default"
|
||||||
|
|
||||||
SRC_URI:append:dey = " \
|
SRC_URI:append:dey = " \
|
||||||
file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \
|
file://0001-colors-modify-psplash-colors-to-match-Digi-scheme.patch \
|
||||||
|
|
@ -9,6 +12,7 @@ SRC_URI:append:dey = " \
|
||||||
|
|
||||||
do_configure:prepend:dey() {
|
do_configure:prepend:dey() {
|
||||||
\cp --remove-destination ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png
|
\cp --remove-destination ${WORKDIR}/psplash-digi-bar.png ${S}/base-images/psplash-bar.png
|
||||||
}
|
if [ "${SPLASH_LOGO_PNG}" != "${WORKDIR}/digi_logo.png" ]; then
|
||||||
|
\cp --remove-destination "${SPLASH_LOGO_PNG}" "${WORKDIR}/logo.png"
|
||||||
SPLASH_IMAGES = "file://logo.png;outsuffix=default"
|
fi
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue