Skip to content
Snippets Groups Projects
  • Timo Mueller's avatar
    7e2eb25e
    classes: Generalize construction of ros_prefix · 7e2eb25e
    Timo Mueller authored
    In special situations, the prefix used by yocto is prefixed by an
    additional staging dir and thus not always starting at /. The current
    class already covered the special case for building native packages, but
    was erroneous when trying to build nativesdk packages.
    
    Instead of dealing with these special cases ourselves, we can prefix the
    ros_prefix with yocto's base_prefix. This prefix will contain any
    additional dirs yocto decides to use and will therefore always result in
    valid directory variables automatically.
    7e2eb25e
    History
    classes: Generalize construction of ros_prefix
    Timo Mueller authored
    In special situations, the prefix used by yocto is prefixed by an
    additional staging dir and thus not always starting at /. The current
    class already covered the special case for building native packages, but
    was erroneous when trying to build nativesdk packages.
    
    Instead of dealing with these special cases ourselves, we can prefix the
    ros_prefix with yocto's base_prefix. This prefix will contain any
    additional dirs yocto decides to use and will therefore always result in
    valid directory variables automatically.