Skip to content
Snippets Groups Projects
Commit 8416d062 authored by Adrian Schmutzler's avatar Adrian Schmutzler
Browse files

build: uImage: separate arguments into individual lines


Having one line per argument increases overview dramatically.

Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent ff012f3a
No related branches found
No related tags found
No related merge requests found
......@@ -394,11 +394,16 @@ define Build/tplink-v2-image
endef
define Build/uImage
mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \
-C $(word 1,$(1)) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
mkimage \
-A $(LINUX_KARCH) \
-O linux \
-T kernel \
-C $(word 1,$(1)) \
-a $(KERNEL_LOADADDR) \
-e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION))' \
$(wordlist 2,$(words $(1)),$(1)) -d $@ $@.new
$(wordlist 2,$(words $(1)),$(1)) \
-d $@ $@.new
mv $@.new $@
endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment