kernel: skip rebuilding kernel with ROOTFS_INITRAMFS_SEPARATE
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Jul 2024 11:40:40 +0000 (13:40 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Jul 2024 14:20:07 +0000 (16:20 +0200)
commit0137fbd74bff2ca3273da3725eb27d2262e3973d
tree6a647dc7fec0f07d9c085c58560e0c0e1073cd94
parentec75f86612f9b017d468e5bad9693606236d1ebc
kernel: skip rebuilding kernel with ROOTFS_INITRAMFS_SEPARATE

With PER_DEVICE_ROOTFS, rebuilding kernel is needed to embed the cpio
image in the kernel image. With ROOTFS_INITRAMFS_SEPARATE, the cpio
image is external hence we can reuse the same kernel image without
rebuilding it.

Link: https://github.com/openwrt/openwrt/pull/12959
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/kernel-defaults.mk