fi
 }
 
-# Many scripts want to look in arch/$arch/boot for the bootable
-# image. This poses a problem for vmlinux based booting. This 
-# task arranges to have vmlinux appear in the normalized directory
-# location.
-do_kernel_link_vmlinux() {
-       if [ ! -d "${B}/arch/${ARCH}/boot" ]; then
-               mkdir ${B}/arch/${ARCH}/boot
-       fi
-       cd ${B}/arch/${ARCH}/boot
-       ln -sf ../../../vmlinux
-}
-
 OE_TERMINAL_EXPORTS += "KBUILD_OUTPUT"
 KBUILD_OUTPUT = "${B}"
 
 
     do_split_packages(d, root='/lib/firmware', file_regex='^(.*)\.(bin|fw|cis|dsp)$', output_pattern='kernel-firmware-%s', description='Firmware for %s', recursive=True, extra_depends='')
 }
 
+# Many scripts want to look in arch/$arch/boot for the bootable
+# image. This poses a problem for vmlinux based booting. This 
+# task arranges to have vmlinux appear in the normalized directory
+# location.
+do_kernel_link_vmlinux() {
+       if [ ! -d "${B}/arch/${ARCH}/boot" ]; then
+               mkdir ${B}/arch/${ARCH}/boot
+       fi
+       cd ${B}/arch/${ARCH}/boot
+       ln -sf ../../../vmlinux
+}
+
 do_strip() {
        if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then
                if [ "${KERNEL_IMAGETYPE}" != "vmlinux" ]; then