diff options
Diffstat (limited to 'target/x86_64')
-rw-r--r-- | target/x86_64/Makefile | 3 | ||||
-rw-r--r-- | target/x86_64/qemu-x86_64/genimage.cfg | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/target/x86_64/Makefile b/target/x86_64/Makefile index 8fa5b0ddf..cd6530c91 100644 --- a/target/x86_64/Makefile +++ b/target/x86_64/Makefile @@ -108,6 +108,9 @@ endif ifeq (${ADK_TARGET_FS},iso) imageinstall: ${FW_DIR}/${ROOTFSISO} targethelp endif +ifeq (${ADK_TARGET_FS},genimage) +imageinstall: ${FW_DIR}/${GENIMAGE} targethelp +endif ifeq ($(ADK_TARGET_FS),nfsroot) imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp endif diff --git a/target/x86_64/qemu-x86_64/genimage.cfg b/target/x86_64/qemu-x86_64/genimage.cfg new file mode 100644 index 000000000..a958d560d --- /dev/null +++ b/target/x86_64/qemu-x86_64/genimage.cfg @@ -0,0 +1,25 @@ +image disk.img { + + hdimage { + } + + partition boot { + in-partition-table = "no" + image = "boot.img" + offset = 0 + size = 512 + } + + partition grub { + in-partition-table = "no" + image = "grub.img" + offset = 512 + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext2" + } + +} + |