summaryrefslogtreecommitdiff
path: root/target/alix2d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/alix2d/Makefile')
-rw-r--r--target/alix2d/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/alix2d/Makefile b/target/alix2d/Makefile
index 932c81109..cd4964c24 100644
--- a/target/alix2d/Makefile
+++ b/target/alix2d/Makefile
@@ -7,8 +7,10 @@ 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:
- @cp $(LINUX_DIR)/arch/x86/boot/bzImage $(TARGET_DIR)/boot/vmlinuz-adk
+ @cp $(KERNEL) $(TARGET_DIR)/boot/vmlinuz-adk
ifeq ($(FS),ext2-block)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@@ -19,8 +21,7 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
endif
ifeq ($(FS),nfsroot)
imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL)
- @cp $(LINUX_DIR)/arch/x86/boot/bzImage \
- $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel $(MAKE_TRACE)
+ @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
@echo
@echo 'The linux kernel is here: $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel'
@echo 'The nfs root tarball is here: ${BIN_DIR}/${ROOTFSUSERTARBALL}'