From 2636f0ed7b5fe9ddbc1cb3f9c9348550c7eac099 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 11 Jul 2012 19:10:59 +0200 Subject: use genext2fs on MacOS X to create qemu images --- target/config/Config.in | 9 +++++++++ target/x86/Makefile | 6 ++++++ 2 files changed, 15 insertions(+) (limited to 'target') diff --git a/target/config/Config.in b/target/config/Config.in index be22d7b55..f960afffa 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -589,6 +589,15 @@ config ADK_TARGET_ROOTFS_CF Use this option if you have a compact flash based system. (ext2 filesystem is used.) +config ADK_TARGET_ROOTFS_GENEXT2FS + bool "read-write filesystem for compact flash (genext2fs version)" + depends on ADK_TARGET_WITH_CF + select ADK_KERNEL_EXT2_FS + select ADK_KERNEL_SCSI + help + Use this option if you have a compact flash based system. + (ext2 filesystem is used.) + config ADK_TARGET_ROOTFS_MMC bool "read-write filesystem for mmc/sdcard" depends on ADK_TARGET_WITH_MMC diff --git a/target/x86/Makefile b/target/x86/Makefile index aa5bdc2d7..40fe4ded6 100644 --- a/target/x86/Makefile +++ b/target/x86/Makefile @@ -9,6 +9,12 @@ include $(TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage +ifeq ($(ADK_TARGET_FS),genext2fs) +imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) + @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)" + @echo "To install everything to CompactFlash use scripts/genext2.sh" +endif + ifeq ($(ADK_TARGET_FS),cf) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)" -- cgit v1.2.3