mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 12:36:18 +00:00
4f8d2a57e9
* Initial fully buildable/bootable Odin Support * Rework NX-Boot to FAT32 Boot for shared usage between switch and odin * Move shared packages from switch/odin to main packages folder
21 lines
634 B
Makefile
21 lines
634 B
Makefile
PKG_NAME="odin-bootloader"
|
|
PKG_VERSION="1.0"
|
|
PKG_ARCH="any"
|
|
PKG_DEPENDS_TARGET="odin-bootloader:init"
|
|
PKG_DEPENDS_INIT="plymouth-lite:init"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/share/bootloader/boot/
|
|
cp -Prv ${PKG_DIR}/files/boot/* ${INSTALL}/usr/share/bootloader/boot/
|
|
}
|
|
|
|
makeinstall_init() {
|
|
mkdir -p ${INSTALL}/splash
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
cp ${PKG_DIR}/initramfs/splash/splash-1080-lakka.png ${INSTALL}/splash/splash-1080.png
|
|
elif [ "${DISTRO}" = "LibreELEC" ]; then
|
|
cp ${PKG_DIR}/initramfs/splash/splash-1080-libreelec.png ${INSTALL}/splash/splash-1080.png
|
|
fi
|
|
}
|