summaryrefslogtreecommitdiff
path: root/target/cris
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-31 20:29:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-31 20:29:39 +0100
commit8f219fb9f03a068a7d9e26f43affefa0b1c4b836 (patch)
tree032bb8d98fec09e061c18dd101f3d4b52549331e /target/cris
parent38136c7702e1940a88f24d09141f07b23b966a1c (diff)
should be without path, just the name of the kernel
Diffstat (limited to 'target/cris')
-rw-r--r--target/cris/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/cris/Makefile b/target/cris/Makefile
index 5aa8b5e93..1e072f78e 100644
--- a/target/cris/Makefile
+++ b/target/cris/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/cris/boot/zImage
$(TOOLS_BUILD_DIR):
- mkdir -p $(TOOLS_BUILD_DIR)
+ @mkdir -p $(TOOLS_BUILD_DIR)
tools-compile: $(TOOLS_BUILD_DIR)
$(MAKE) -C ../tools/mkfimage
@@ -21,7 +21,7 @@ endif
$(INSTALL_BIN) ../tools/boot_linux $(BIN_DIR)/
kernel-install: tools-compile
- PATH='${TARGET_PATH}' mkfimage $(KERNEL) $(TARGET_KERNEL)
+ PATH='${TARGET_PATH}' mkfimage $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
ifeq ($(ADK_TARGET_FS),squashfs)
imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS)
@@ -36,7 +36,8 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSSQUASHFS)
endif
ifeq ($(ADK_TARGET_FS),nfsroot)
imageinstall: kernel-install ${BIN_DIR}/${ROOTFSUSERTARBALL}
- @echo Use sudo ./boot_linux -F -i ${TARGET_KERNEL} to flash the kernel
+ @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
+ @echo Use sudo ./boot_linux -F -i $(BIN_DIR)/${TARGET_KERNEL} to flash the kernel
@echo Do not forget to set network boot jumper, before you start the foxboard
@echo ${ROOTFSUSERTARBALL} is your nfs root and can be extracted on your nfs server
endif