target/linux/*/image/Makefile: eliminate more LINUX_DIR users
[openwrt-github/.git] / target / linux / malta / image / Makefile
index c0e520fbeee1e200ba1a258e078a2abac999ff5b..db2637ad8fcb8c0014bb70b9b119b53a4fa1a2de 100644 (file)
@@ -21,7 +21,7 @@ endef
 
 define MkuImage
        mkimage -A mips -O linux -T kernel -a 0x80100000 -C $(1) $(2) \
-               -e $(call get_kernel_entry,$(LINUX_DIR)/vmlinux) -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
+               -e $(call get_kernel_entry,$(KDIR)/vmlinux.debug) -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
                -d $(3) $(4)
 endef