1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 12:36:18 +00:00
Lakka-LibreELEC/projects/Ayn/devices/Odin/packages/odin-bootloader/package.mk
GavinDarkglider 4f8d2a57e9
WIP - Add Support for Ayn Odin (#1713)
* 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
2023-01-21 16:11:38 +01:00

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
}