summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-16 15:07:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-16 15:07:39 +0200
commit48f6bfb37e3b2511a5cac64d3267bb78d0709024 (patch)
tree76bdb4658bb299d0a9109d0d16a7d78b97ed29ef
parent528e35262701ed30a330dc84784aecbab0ab406e (diff)
add archive FS for native builds
-rw-r--r--target/Config.in1
-rw-r--r--target/native/Makefile6
2 files changed, 6 insertions, 1 deletions
diff --git a/target/Config.in b/target/Config.in
index 5647039dd..fc3e07b97 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -962,6 +962,7 @@ config ADK_TARGET_ROOTFS_EXT2_BLOCK
config ADK_TARGET_ROOTFS_ARCHIVE
bool "Archive usable for different filesystems"
depends on \
+ ADK_LINUX_NATIVE || \
ADK_LINUX_QEMU || \
ADK_LINUX_XSCALE_ZAURUS || \
ADK_LINUX_X86_IBMX40 || \
diff --git a/target/native/Makefile b/target/native/Makefile
index 1999540c4..63eeb1842 100644
--- a/target/native/Makefile
+++ b/target/native/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
-KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
+KERNEL:=$(LINUX_DIR)/vmlinuz
ifeq ($(FS),initramfs)
imageinstall: $(BIN_DIR)/$(INITRAMFS)
@@ -21,3 +21,7 @@ imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
@cp $(KERNEL) ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel
@echo 'The kernel+initramfs file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
endif
+ifeq ($(FS),archive)
+imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+ @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
+endif