[openwrt/openwrt] image: remove bogus mkimage command
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 25 09:08:32 EST 2021
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f074541f317fd873c28129992ea239552c4f5460
commit f074541f317fd873c28129992ea239552c4f5460
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Feb 25 14:06:14 2021 +0000
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 <daniel at makrotopia.org>
---
include/image-commands.mk | 16 ----------------
1 file changed, 16 deletions(-)
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 $@
More information about the lede-commits
mailing list