opuntiaOS - an operating system targeting x86 and ARMv7
at master 565 B view raw
1#!/usr/bin/env python3 2# 3# Copyright (C) 2020-2022 The opuntiaOS Project Authors. 4# + Contributed by Nikita Melekhin <nimelehin@gmail.com> 5# 6# Use of this source code is governed by a BSD-style license that can be 7# found in the LICENSE file. 8 9from DevTreeCompiler import DevTreeCompiler 10import argparse 11 12if __name__ == '__main__': 13 parser = argparse.ArgumentParser() 14 parser.add_argument('i', type=str, help='Input file') 15 parser.add_argument('o', type=str, help='Output file') 16 17 args = parser.parse_args() 18 DevTreeCompiler.compile(args.i, args.o)