diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-04-02 22:13:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-04-02 22:13:40 +0200 |
commit | 2b709151ada49c7bd74285f0bdbaef671276a2d5 (patch) | |
tree | d149dc5eac715a58b9f7382a46ed26c4b8d982dd /gentree.py | |
parent | 8b67dc814dc740f45891c92c49473a05d914ea71 (diff) |
add the ability to include ALX
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -169,6 +169,8 @@ def main(): 'that the tree generation makes (apply patches, ...)') parser.add_argument('--verbose', const=True, default=False, action="store_const", help='Print more verbose information') + parser.add_argument('--extra-driver', nargs=2, metavar=('<source dir>', '<copy-list>'), type=str, + action='append', default=[], help='Extra driver directory/copy-list.') args = parser.parse_args() # then add stuff from the copy list file @@ -189,6 +191,9 @@ def main(): copy_files(os.path.join(source_dir, 'backport'), [('', '')], args.outdir) copy_git_files(args.kerneldir, copy_list, args.git_revision, args.outdir) + for src, copy_list in args.extra_driver: + copy_files(src, read_copy_list(open(copy_list, 'r')), args.outdir) + git_debug_init(args) git_debug_snapshot(args, "add versions/symbols files") |