summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index faf5c92176..893226578a 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -73,7 +73,7 @@ def add(args, config, basepath, workspace):
73 (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree) 73 (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srctree)
74 initial_rev = stdout.rstrip() 74 initial_rev = stdout.rstrip()
75 75
76 appendfile = os.path.join(appendpath, '%s.bbappend' % args.recipename) 76 appendfile = os.path.join(appendpath, '%s.bbappend' % bp)
77 with open(appendfile, 'w') as f: 77 with open(appendfile, 'w') as f:
78 f.write('inherit externalsrc\n') 78 f.write('inherit externalsrc\n')
79 f.write('EXTERNALSRC = "%s"\n' % srctree) 79 f.write('EXTERNALSRC = "%s"\n' % srctree)