mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
toolchain: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b9a320772f
commit
f44a77854e
@ -25,16 +25,21 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.openelec.tv"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS="eglibc-initramfs busybox-initramfs linux-initramfs plymouth-lite diskdev_cmds-initramfs"
|
||||
PKG_BUILD_DEPENDS="toolchain eglibc-initramfs busybox-initramfs"
|
||||
PKG_DEPENDS="eglibc-initramfs busybox-initramfs linux-initramfs plymouth-lite diskdev_cmds:init"
|
||||
PKG_BUILD_DEPENDS_TARGET="toolchain eglibc-initramfs busybox-initramfs"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="initramfs"
|
||||
PKG_SECTION="virtual"
|
||||
PKG_SHORTDESC="initramfs: Metapackage for installing initramfs"
|
||||
PKG_LONGDESC="debug is a Metapackage for installing initramfs"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$ISCSI_SUPPORT" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS open-iscsi"
|
||||
fi
|
||||
|
||||
makeinstall_target() {
|
||||
cd $INSTALL_INIT
|
||||
find . | cpio -H newc -ov -R 0:0 > $ROOT/$BUILD/image/initramfs.cpio
|
||||
}
|
@ -39,13 +39,8 @@ rm -f modules/lib/modules/*/build
|
||||
rm -f modules/lib/modules/*/source
|
||||
cd -
|
||||
|
||||
export INSTALL=$ROOT/$BUILD/image/initramfs/root-image
|
||||
$SCRIPTS/install initramfs
|
||||
|
||||
cd $INSTALL
|
||||
find . | cpio -H newc -ov -R 0:0 > $ROOT/$BUILD/image/initramfs.cpio
|
||||
cd -
|
||||
|
||||
cd $PKG_BUILD
|
||||
LDFLAGS="" make $KERNEL_IMAGE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user