summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index c80775841..6a707c5a9 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -449,7 +449,8 @@ elif [ ${BUILDARCH} = ppc64 ]; then
source $TOPDIR/mk-images.ppc
elif [ ${BUILDARCH} = "x86_64" -o ${BUILDARCH} = "i386" ]; then
source $TOPDIR/mk-images.x86
- source $TOPDIR/mk-images.efi
+ # Only generate EFI images on 64bit
+ test ${BUILDARCH} = "x86_64" && source $TOPDIR/mk-images.efi
elif [ ${BUILDARCH} = "sparc64" -o ${BUILDARCH} = "sparcv9" ]; then
source $TOPDIR/mk-images.sparc
else