tools: remove kernel2minor

Since the Yafut tool is now used for both updating the kernel on
MikroTik devices with NAND flash and preparing firmware images for
MikroTik devices with NOR flash, remove the kernel2minor utility from
the tree as it is no longer used for anything.

Signed-off-by: Michał Kępień <openwrt@kempniu.pl>
Link: https://github.com/openwrt/openwrt/pull/13453
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Michał Kępień
2024-05-13 19:26:15 +02:00
committed by Robert Marko
parent a60721f2ed
commit 77106faa37
3 changed files with 0 additions and 38 deletions

View File

@@ -430,14 +430,6 @@ define Build/jffs2
@mv $@.new $@
endef
define Build/kernel2minor
$(eval temp_file := $(shell mktemp))
cp $@ $(temp_file)
kernel2minor -k $(temp_file) -r $(temp_file).new $(1)
mv $(temp_file).new $@
rm -f $(temp_file)
endef
define Build/yaffs-filesystem
let \
kernel_size="$$(stat -c%s $@)" \