installer: dont install flashrom on unsupported devices, add $BOOTLOADER variable

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-03-06 12:20:34 +01:00
parent e88153590c
commit 74aa03fbd7

View File

@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv/"
PKG_URL=""
PKG_DEPENDS="busybox dialog parted e2fsprogs syslinux flashrom"
PKG_DEPENDS="busybox dialog parted e2fsprogs $BOOTLOADER"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
@ -34,3 +34,7 @@ PKG_LONGDESC="OpenELEC.tv Install manager to install the system on any disk"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS="$PKG_DEPENDS flashrom"
fi