From: Daniel Golle Date: Thu, 25 Feb 2021 14:06:14 +0000 (+0000) Subject: image: remove bogus mkimage command X-Git-Tag: mikrotik~2850 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f074541f317fd873c28129992ea239552c4f5460;p=openwrt%2Fstaging%2Fchunkeey.git image: remove bogus mkimage command That was a left-over from testing and should not have made it into the tree. Remove it. Fixes: 330bd380e8 ("image: allow building FIT and uImage with ramdisk") Signed-off-by: Daniel Golle --- diff --git a/include/image-commands.mk b/include/image-commands.mk index d4ec51ca7c..a1edc3265e 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -461,22 +461,6 @@ define Build/uImage mv $@.new $@ endef -define Build/uImage-with-ramdisk - mkimage \ - -A $(LINUX_KARCH) \ - -O linux \ - -T kernel \ - -C $(word 1,$(1)) \ - -a $(KERNEL_LOADADDR) \ - -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ - -i $(KERNEL_BUILD_DIR)/initrd.cpio.$(strip $(call Build/initrd_compression)) \ - -n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION))' \ - $(if $(UIMAGE_MAGIC),-M $(UIMAGE_MAGIC)) \ - $(wordlist 2,$(words $(1)),$(1)) \ - -d $@ $@.new - mv $@.new $@ -endef - define Build/xor-image $(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1) mv $@.xor $@