def options(ctx):
    gr = ctx.get_option_group("configure options")
    default_prefix = "install-area"
    gr.add_option(
        '--prefix',
        default='install-area',
        help=default_prefix % 'installation prefix [default: %r]')

    gr.add_option(
        '--variant',
        default=None,
        help="The build type. ex: x86_64-linux-gcc-opt")
    gr.add_option(
        '--pkgdir',
        default=None,
        help="The directory where pkgs are located")

    ctx.load('hwaf-project-mgr', tooldir=_heptooldir)
    ctx.load('find_compiler',            tooldir=_heptooldir)
    return

### ---------------------------------------------------------------------------
dataset/ETHPy150Open hwaf/hwaf/py-hwaftools/hwaf-system.py/options/swapped operands of `%`