Building ISO image for x86_64?

Hi, I am trying to build an ISO image for x86_64 target. An image IS built, but it doesn't work: GRUB2 is started and shows start menu but then image is not loaded into RAM, it just hangs.

It seems like iso image assumes generic x86?

According to commit it changed when added GRUB2 support, see below.

Anyone managed to create ISO image for x86_64? How?

commit ea575c9316eced5a60be4c05aab6ece3cf4b5eb6
Author: Felix Fietkau nbd@openwrt.org
Date: Sun Oct 7 23:01:52 2012 +0000

x86: add grub2 iso support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73

diff --git a/Config.in b/Config.in
index bd4f63e..08c1edf 100644
--- a/Config.in
+++ b/Config.in
@@ -81,7 +81,7 @@ menu "Target Images"
config TARGET_ROOTFS_ISO
bool "iso"
default n

  •           depends TARGET_ROOTFS_INITRAMFS && TARGET_x86
    
  •           depends on TARGET_x86_generic
              help
                Create some bootable ISO image