mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
build: uImage: separate arguments into individual lines
Having one line per argument increases overview dramatically. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
ff012f3a67
commit
8416d0626f
@ -394,11 +394,16 @@ define Build/tplink-v2-image
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/uImage
|
define Build/uImage
|
||||||
mkimage -A $(LINUX_KARCH) \
|
mkimage \
|
||||||
-O linux -T kernel \
|
-A $(LINUX_KARCH) \
|
||||||
-C $(word 1,$(1)) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
|
-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))' \
|
-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 $@
|
mv $@.new $@
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user