[Bug 4731] New: RFE/kernel.bbclass: untie 'uImage' from openmoko

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Wed Oct 15 11:36:36 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4731

           Summary: RFE/kernel.bbclass: untie 'uImage' from openmoko
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: enrico.scholz at sigma-chemnitz.de


The 'uImage' KERNEL_IMAGETYPE is tied very hard to the ideas of the
'openmoko' distribution:

--- classes/kernel.bbclass ---
    if kerneltype == 'uImage':
        depends = bb.data.getVar("DEPENDS", d, 1)
        depends = "%s u-boot-mkimage-openmoko-native" % depends

...

    if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
       ...
       uboot-mkimage ...
-----

Linux kernel knows already how to build 'uImage' imagetype so that
the manual 'uboot-mkimage' call is not needed and a

|  install -p -m0644 ${KERNEL_OUTPUT}
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin

suffices in do_deploy().  DEPENDS can be expressed as

| DEPENDS     +=
'${@base_conditional("KERNEL_IMAGETYPE","uImage","u-boot-utils-native","",d)}'



Nevertheless, such a change will probably break existing distributions
which rely on current way and related variables (like ${UBOOT_ENTRYPOINT}).

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list