summaryrefslogtreecommitdiff
path: root/include/image-commands.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-08-03 02:30:12 +0200
committerJohn Crispin <john@phrozen.org>2016-08-03 15:30:13 +0200
commit4df20117943dcc5dab6705e8dad7a6cfbc30dfb0 (patch)
tree6ef15f10516fc6a64ba830cc6e6c27293d5dd1de /include/image-commands.mk
parent8e75630d1d04fd27b4a8f5ad7c1619d4c6a6eed7 (diff)
downloadmtk-20170518-4df20117943dcc5dab6705e8dad7a6cfbc30dfb0.zip
mtk-20170518-4df20117943dcc5dab6705e8dad7a6cfbc30dfb0.tar.gz
mtk-20170518-4df20117943dcc5dab6705e8dad7a6cfbc30dfb0.tar.bz2
include/image.mk: allow image code to override uImage name
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'include/image-commands.mk')
-rw-r--r--include/image-commands.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 160b5d8..00cb341 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -7,7 +7,7 @@ define Build/uImage
mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \
-C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
- -n '$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new
+ -n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION))' -d $@ $@.new
@mv $@.new $@
endef