Update buildroot to 2020.11.2 (#1200)

Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Stefan Agner
2021-02-03 17:23:40 +01:00
committed by GitHub
parent 614ff50394
commit 825ef58f85
168 changed files with 3203 additions and 1207 deletions

View File

@@ -3,7 +3,6 @@
import argparse
import getdeveloperlib
import sys
import os
def parse_args():
@@ -45,10 +44,6 @@ def __main__():
print("No action specified")
return
# getdeveloperlib expects to be executed from the toplevel buildroot
# directory, which is one level up from this script
os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
devs = getdeveloperlib.parse_developers()
if devs is None:
sys.exit(1)
@@ -75,11 +70,9 @@ def __main__():
# Handle the files action
if args.files is not None:
args.files = [os.path.abspath(f) for f in args.files]
for dev in devs:
for devfile in dev.files:
commonfiles = [f for f in args.files if f.startswith(devfile)]
if commonfiles:
for f in args.files:
if dev.hasfile(f):
print(dev.name)
break