def get_chost_stuff(conf):
    """
    Get the CHOST environment variable contents
    """
    chost = None
    chost_envar = None
    if conf.env.CHOST:
        chost = conf.env.CHOST[0]
        chost_envar = chost.replace("-", "_")
    return chost, chost_envar