summaryrefslogtreecommitdiff
path: root/target/native/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/native/Makefile')
-rw-r--r--target/native/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/native/Makefile b/target/native/Makefile
index 63eeb1842..0904cb491 100644
--- a/target/native/Makefile
+++ b/target/native/Makefile
@@ -8,7 +8,11 @@ include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
+ifeq ($(CPU_ARCH),i686)
+KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
+else
KERNEL:=$(LINUX_DIR)/vmlinuz
+endif
ifeq ($(FS),initramfs)
imageinstall: $(BIN_DIR)/$(INITRAMFS)