KERNEL_IN_UBI=0 is ineffective in image-commands.mk
Username: imturbi
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2285
device: marvell kirkwood 88f6281
system: openwrt 18.06.2
I want to get a *.factory.bin without kernel, but it is ineffective to set KERNEL_IN_UBI=0 in openwrt-18.06.2/target/linux/kirkwood/image/Makefile.
I got the wrong place in openwrt-18.06.2/include/image-commands.mk, line:177, it should be
$(if $(filter $(KERNEL_IN_UBI), 1), –kernel $(IMAGE_KERNEL))
Maybe it is the same wrong in line 176, but i’m not sure, because i don’t find where UBOOTENV_IN_UBI is used.