kernel: make LINUX_DIR configurable for SetInitramfs functions
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jul 2024 12:37:18 +0000 (14:37 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Jul 2024 14:20:05 +0000 (16:20 +0200)
commit9b0185e0c00e238c087c40a54f050b3557153d80
tree824a24f47b0a9daf41283fc91e7581a9ea79f6f6
parent4209eb75052761064483fe93b6f4a81f8f95756c
kernel: make LINUX_DIR configurable for SetInitramfs functions

Rework SetInitramfs functions to take a second arg to define the
location of the .config. This is needed in preparation for PER_ROOTFS
Initramfs support as we will prepare .config in dedicated directory and
use them only later when the image is actually built.

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