summaryrefslogtreecommitdiff
path: root/target/native/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
commitd22b78be7b2b95ba028c6584e9ee5abb69a375cb (patch)
tree039da0ef61265cda4512279d36aea46c4670a715 /target/native/Makefile
parent702e216210d58f1301c80d4e55af5d29f813eb19 (diff)
parent2e2eee9052d2c487d7114818ca446c370dba7f49 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/native/Makefile')
-rw-r--r--target/native/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/target/native/Makefile b/target/native/Makefile
index 2b279e4ff..21fde248a 100644
--- a/target/native/Makefile
+++ b/target/native/Makefile
@@ -8,12 +8,19 @@ include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
+KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
+
kernel-install:
ifeq ($(FS),initramfs)
imageinstall: $(BIN_DIR)/$(INITRAMFS)
- @cp $(LINUX_DIR)/arch/x86/boot/bzImage $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
+ @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
@echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
@echo 'Login as user root with password linux123 via ssh or console'
endif
+ifeq ($(FS),initramfs-piggyback)
+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