On 29/10/13 16:26, Yegor Yefremov wrote:
On Tue, Oct 29, 2013 at 4:16 PM, Felix Fietkau<[email protected]>  wrote:
On 2013-10-29 15:54, Yegor Yefremov wrote:
On Tue, Oct 29, 2013 at 3:42 PM, Felix Fietkau<[email protected]>  wrote:
On 2013-10-29 15:27, Yegor Yefremov wrote:
I want OpenWrt (12.09) to install Kernel (zImage/uImage) to /boot.
What *.mk file should I change? So far I could only find BIN_DIR in
include/kernel-build.mk, but it is for kernel-debug.tar.bz2.
What platform, and why?

Platform is irrelevant (ARM: KS8695 and OMAP3), because before OpenWrt
another small Linux image will be started (aka BIOS for maintenance
purposes) and OpenWrt's Kernel will be invoked via kexec. Buildroot
has such an option upstream, where you can choose folder you want to
install the kernel image to (see BR2_LINUX_KERNEL_INSTALL_TARGET).
There's no option for that yet, but feel free to propose a patch that
adds such a config option.
BIN_DIR refers to bin/<platform>  not the rootfs staging directory.
It should be copied to $(TARGET_DIR), probably from image.mk in this
template: Image/mkfs/prepare/default

Thanks. I just wanted to know, which script is responsible for placing
openwrt-platform-zImage to bin/platform i.e. BIN_DIR?


target/linux/${arch}/image/Makefile
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to