Move buildroot to bsp directory.
This commit is contained in:
31
bsp/buildroot/package/psplash/Config.in
Normal file
31
bsp/buildroot/package/psplash/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_PSPLASH
|
||||
bool "psplash"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
PSplash is a userspace graphical boot splash screen for mainly
|
||||
embedded Linux devices supporting a 16bpp or 32bpp framebuffer.
|
||||
It has few dependencies (just libc), supports basic images and
|
||||
text and handles rotation. Its visual look is configurable by
|
||||
basic source changes.
|
||||
|
||||
Also included is a 'client' command utility for sending
|
||||
information to psplash such as boot progress information.
|
||||
|
||||
Start the drawing process with 'psplash -n&' as early as possible.
|
||||
Note: psplash creates a FIFO in /tmp for communication with
|
||||
psplash-write.
|
||||
|
||||
Usage:
|
||||
* Set progress bar to 50 percent:
|
||||
psplash-write "PROGRESS 50"
|
||||
|
||||
* Display message "foobar" above progress bar:
|
||||
psplash-write "MSG foobar"
|
||||
|
||||
* Terminate psplash:
|
||||
psplash-write "QUIT"
|
||||
|
||||
http://git.yoctoproject.org/cgit/cgit.cgi/psplash/
|
||||
|
||||
comment "psplash needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
11
bsp/buildroot/package/psplash/psplash-quit.service
Normal file
11
bsp/buildroot/package/psplash/psplash-quit.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Terminate Psplash Boot Screen
|
||||
After=psplash-start.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/psplash-write QUIT
|
||||
TimeoutSec=20
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
11
bsp/buildroot/package/psplash/psplash-start.service
Normal file
11
bsp/buildroot/package/psplash/psplash-start.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Starts Psplash Boot screen
|
||||
Wants=systemd-vconsole-setup.service
|
||||
After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/psplash -n
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
26
bsp/buildroot/package/psplash/psplash.mk
Normal file
26
bsp/buildroot/package/psplash/psplash.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# psplash
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PSPLASH_VERSION = 14c8f7b705de944beb4de3f296506d80871e410f
|
||||
PSPLASH_SITE = git://git.yoctoproject.org/psplash
|
||||
PSPLASH_LICENSE = GPLv2+
|
||||
PSPLASH_AUTORECONF = YES
|
||||
|
||||
define PSPLASH_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
|
||||
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user