From 0c03c731a80399998cc4b03a35ffad2961c7b369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20Sepp=C3=A4nen?= Date: Tue, 8 Mar 2011 16:07:49 +0200 Subject: Added support for prebuilt TAP-drivers. Automated embedding manifests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed win/make_dist.py's dependency on TAP-driver and tapinstall.exe building. Also added manifest embedding commands to win/make_dist.py. To avoid duplicate code moved the "build_vc" method from win/build.py to win/wb.py and renamed it "run_in_vs_shell". Signed-off-by: Samuli Seppänen Acked-by: James Yonan Signed-off-by: David Sommerseth --- win/build_all.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'win/build_all.py') diff --git a/win/build_all.py b/win/build_all.py index 2c4d1aa..47716a1 100644 --- a/win/build_all.py +++ b/win/build_all.py @@ -54,13 +54,14 @@ def main(config): if tap: build_ddk(config, 'tap', 'all') build_ddk(config, 'tapinstall', 'all') - else: - print "Not building the TAP driver" - - if signedBuild: - sign(config, 'all') + if signedBuild: + sign(config, 'all') + make_dist(config,tap=True) - make_dist(config) + else: + if 'TAP_PREBUILT' in config: + print "Using prebuilt TAP driver" + make_dist(config,tap=False) # if we are run directly, and not loaded as a module if __name__ == "__main__": -- cgit v1.2.3