projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ece83
)
build: add Mikrotik NOR RouterBOOT v7 image build
author
John Thomson
<
[email protected]
>
Sun, 22 Jan 2023 11:34:43 +0000
(21:34 +1000)
committer
Daniel Golle
<
[email protected]
>
Mon, 29 Sep 2025 16:34:51 +0000
(17:34 +0100)
Add build step 'kernel-pack-npk' which uses 'npk_pack_kernel' which is now
part of firmware-utils to enable wrapping the kernel inside a MikroTik NPK
package.
Signed-off-by: John Thomson <
[email protected]
>
Signed-off-by: Daniel Golle <
[email protected]
>
include/image-commands.mk
patch
|
blob
|
history
diff --git
a/include/image-commands.mk
b/include/image-commands.mk
index 781f6ad03b85fcc7265ed9d65518a6cc63100230..ad57dfd49bd3b289f8a775d1b9127c447ca3a81d 100644
(file)
--- a/
include/image-commands.mk
+++ b/
include/image-commands.mk
@@
-557,6
+557,11
@@
define Build/gl-qsdk-factory
$(KDIR_TMP)/$(notdir $(BOOT_SCRIPT))
endef
+define Build/kernel-pack-npk
+ $(STAGING_DIR_HOST)/bin/npk_pack_kernel $@
[email protected]
+ mv
[email protected]
$@
+endef
+
define Build/linksys-image
let \
size="$$(stat -c%s $@)" \