kernel: allow different TARGET_DIR for initramfs
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Thu, 3 Aug 2023 22:05:13 +0000 (19:05 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Jul 2024 14:20:04 +0000 (16:20 +0200)
commit4209eb75052761064483fe93b6f4a81f8f95756c
tree540adf44db48c02d2ac6870be043b27b5b48092e
parent4a2f712f85b5e29c5763e92a0cc47265580157a3
kernel: allow different TARGET_DIR for initramfs

Allow Kernel/CompileImage/Initramfs to use a different rootfs location.
If the additional arg is not defined, TARGET_DIR is used by default.

This allows the caller to customize the kernel initramfs for different
rootfs.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
[ simplify commit and rework commit description ]
Link: https://github.com/openwrt/openwrt/pull/12959
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/kernel-defaults.mk