toolchain: convert to new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-12-16 00:13:43 +01:00
parent b9a320772f
commit f44a77854e
2 changed files with 9 additions and 9 deletions

View File

@ -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
}

View File

@ -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