linux-handhelds-2.6: Add more verbose message about KERNEL_INITRAMFS_PATH.
authorPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 13:12:15 +0000 (15:12 +0200)
committerPaul Sokolovsky <pmiscml@gmail.com>
Tue, 2 Dec 2008 13:12:15 +0000 (15:12 +0200)
* Also, fix zImage file name in generated HaRET's startup.txt.

packages/linux/linux-handhelds-2.6.inc

index 2785fb8..9785d84 100644 (file)
@@ -37,7 +37,11 @@ do_configure() {
 
        if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROM_MODE}" = "glibc" ]; then
                if [ ! -f ${KERNEL_INITRAMFS_PATH} ]; then
-                   echo "${KERNEL_INITRAMFS_PATH} does not exist, you may need to bitbake it separately"
+                   echo "Kernel is requested to be built with internal initramfs."
+                   echo "The initramfs image must exist prior to building the kernel, but it does not 
+                   echo "exist at the specified path ${KERNEL_INITRAMFS_PATH}. You may need to bitbake"
+                   echo "it separately, possibly, with a different set of bitbake options. Please"
+                   echo "consult documentation for your distro."
                    exit 1
                fi
 
@@ -81,7 +85,7 @@ gen_haret_startup() {
 # This is startup file for HaRET, Linux bootloader for WinCE
 # http://handhelds.org/wiki/HaRET
 
-set kernel "${KERNEL_IMAGE_BASE_NAME}"
+set kernel "${KERNEL_IMAGE_BASE_NAME}.bin"
 
 # Boot choices. Uncomment 'set' statements in exactly one section