two srclibs: busybox and busybox configs

This commit is contained in:
David Black 2012-12-26 17:41:57 +00:00
parent da7162f5aa
commit 01d3b32126

View file

@ -1367,6 +1367,20 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
vcs.gotorevision(ref)
return sdir
if name == 'Busybox':
sdir = os.path.join(extlib_dir, 'Busybox')
vcs = getvcs('git',
'git://busybox.net/busybox.git', sdir, sdk_path)
vcs.gotorevision(ref)
return sdir
if name == 'BusyboxConfigs':
sdir = os.path.join(extlib_dir, 'BusyboxConfigs')
vcs = getvcs('git',
'https://github.com/tias/android-busybox-ndk.git', sdir, sdk_path)
vcs.gotorevision(ref)
return sdir
raise BuildException('Unknown srclib ' + name)