target/linux/*/image/Makefile: eliminate more LINUX_DIR users

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41792
This commit is contained in:
John Crispin
2014-07-21 18:42:11 +00:00
parent 7d8f187201
commit 8295b1f7f2
3 changed files with 3 additions and 2 deletions

View 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

View File

@@ -27,7 +27,7 @@ endef
define MkImageGzip
gzip -9 -c $(1) > $(1).gz
mkimage -A mips -O linux -T kernel -a 0x80010000 -C gzip \
-e $(call kernel_entry,$(LINUX_DIR)/vmlinux) -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
-e $(call kernel_entry,$(KDIR)/vmlinux.debug) -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
-d $(1).gz $(2)
endef