Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def arguments_kconfig(subparser):
- arch_native = pmb.parse.arch.alpine_native()
- arch_choices = set(pmb.config.build_device_architectures + [arch_native])
- frontend_choices = ["xconfig", "x", "gconfig", "g", "ncurses", "n"]
- ret = subparser.add_parser("kconfig", help="manage kernel aport options")
- """sub = ret.add_subparsers(dest="action_kconfig")"""
- ret.add_argument("--arch", choices=arch_choices, dest="arch")
- ret.add_argument("--frontend", choices=frontend_choices, default="ncurses", dest="frontend")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement