From: Stefano Stabellini Date: Mon, 12 Oct 2015 15:28:53 +0000 (+0100) Subject: Don't build grub and qemu_traditional on ARM X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6bcfa48a0fb67141f522b13269c5847224cf55ae;p=raisin.git Don't build grub and qemu_traditional on ARM Signed-off-by: Stefano Stabellini --- diff --git a/components/grub b/components/grub index 3bb5254..703d681 100644 --- a/components/grub +++ b/components/grub @@ -28,6 +28,12 @@ function grub_check_package() { function grub_build() { + if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]] + then + verbose_echo grub is only supported on x86_32 and x86_64 + return + fi + cd "$BASEDIR" rm -f memdisk.tar tar cf memdisk.tar -C data grub.cfg diff --git a/components/qemu_traditional b/components/qemu_traditional index a9609b1..ddf3db9 100644 --- a/components/qemu_traditional +++ b/components/qemu_traditional @@ -5,18 +5,28 @@ function qemu_traditional_check_package() { libncurses5-dev" local DEP_Debian_x86_32="$DEP_Debian_common" local DEP_Debian_x86_64="$DEP_Debian_common" - local DEP_Debian_arm32="$DEP_Debian_common" - local DEP_Debian_arm64="$DEP_Debian_common" local DEP_Fedora_common="make gcc zlib-devel ncurses-devel pciutils-devel" local DEP_Fedora_x86_32="$DEP_Fedora_common" local DEP_Fedora_x86_64="$DEP_Fedora_common" + if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]] + then + verbose_echo qemu_traditional is only supported on x86_32 and x86_64 + return + fi + verbose_echo Checking QEMU dependencies eval check-package \$DEP_"$DISTRO"_"$RAISIN_ARCH" } function qemu_traditional_build() { + if [[ $RAISIN_ARCH != "x86_64" && $RAISIN_ARCH != "x86_32" ]] + then + verbose_echo qemu_traditional is only supported on x86_32 and x86_64 + return + fi + cd "$BASEDIR" git-checkout $QEMU_TRADITIONAL_URL $QEMU_TRADITIONAL_REVISION qemu_traditional-dir cd qemu_traditional-dir