summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-08-05 14:51:20 +0300
committerHanoh Haim <hhaim@cisco.com>2015-08-05 14:51:20 +0300
commitb77e4ab7fc3845efe0769723cadb007c3577ae1e (patch)
treedcb9447ba55a17ff6a3750afcc82e2a86667af53
parentbe51c10fce534bb7d90aca04ef635b189b39a3a1 (diff)
add init scriptv1.75v.175
-rwxr-xr-xVERSION3
-rwxr-xr-xlinux_dpdk/ws_main.py16
2 files changed, 15 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index bdd3949..917f017 100755
--- a/VERSION
+++ b/VERSION
@@ -1,3 +1,4 @@
-v1.74
+v1.75
+
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py
index 73a1982..756b89e 100755
--- a/linux_dpdk/ws_main.py
+++ b/linux_dpdk/ws_main.py
@@ -669,7 +669,7 @@ def create_version_files ():
def build_test(bld):
create_version_files ()
-def _copy_single_system (bld, exec_p, build_obj,o):
+def _copy_single_system (bld, exec_p, build_obj):
o='build_dpdk/linux_dpdk/';
src_file = os.path.realpath(o+build_obj.get_target())
print src_file;
@@ -679,11 +679,21 @@ def _copy_single_system (bld, exec_p, build_obj,o):
os.system("cp %s %s " %(src_file,dest_file));
os.system("chmod +x %s " %(dest_file));
+def _copy_single_system1 (bld, exec_p, build_obj):
+ o='../scripts/';
+ src_file = os.path.realpath(o+build_obj.get_target()[1:])
+ print src_file;
+ if os.path.exists(src_file):
+ dest_file = exec_p +build_obj.get_target()[1:]
+ os.system("cp %s %s " %(src_file,dest_file));
+ os.system("chmod +x %s " %(dest_file));
+
+
def copy_single_system (bld, exec_p, build_obj):
- _copy_single_system (bld, exec_p, build_obj,'build_dpdk/linux_dpdk/')
+ _copy_single_system (bld, exec_p, build_obj)
def copy_single_system1 (bld, exec_p, build_obj):
- _copy_single_system (bld, exec_p, build_obj,'../scripts/')
+ _copy_single_system1 (bld, exec_p, build_obj)
files_list=[