[Buildroot] [PATCH] Create /boot/uImage symlink to the currentkernel image

Ulf Samuelsson ulf at atmel.com
Fri Jan 4 13:45:54 UTC 2008



| Hi,
| 
|   A while ago, the kernel naming have been changed to include $(DATE)
| which makes it annoying to keep track. This patch adds an option to
| the Advanced Kernel option to create an /boot/uImage symbolic link to
| the built kernel. Please consider applying, this really improves
| usability, if this naming scheme is to be kept.
| 
| Kind Regards,
|    Thiago A. Correa
|

Looking at your patch, I see that we are talking about two different things.
There is a feature to copy the linux kernel to /tftpboot directory,
which I thought you were referring to, but If you want the kernel inside
the root file system, then would it not make more sense to do:

-  cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(LINUX26_KERNEL_NAME)
+  cp -dpf $(LINUX26_KERNEL) $(TARGET_DIR)/boot/$(BR2_PACKAGE_LINUX_FORMAT)

where BR2_PACKAGE_LINUX_FORMAT could be
uImage, bzImage, vmlinux etc.

Best Regards
Ulf Samuelsson



More information about the buildroot mailing list