diff options
author | Thomas Monjalon <thomas.monjalon@6wind.com> | 2015-12-01 08:36:00 +0100 |
---|---|---|
committer | Thomas Monjalon <thomas.monjalon@6wind.com> | 2015-12-06 15:41:04 +0100 |
commit | 27f356c48da352287c4fab72a48d889a77b88db4 (patch) | |
tree | 715f6df5f98c8a4e1f0a3ad25cb2101eddb948f0 /tools | |
parent | fbae3cdd20d2752acd22d8bd0b28bd9e06dbd141 (diff) | |
download | dpdk-27f356c48da352287c4fab72a48d889a77b88db4.zip dpdk-27f356c48da352287c4fab72a48d889a77b88db4.tar.gz dpdk-27f356c48da352287c4fab72a48d889a77b88db4.tar.xz |
mk: remove multi-target install
The multi-target install create some subdirectories with the target name
which is not standard for a "make install" procedure.
The uninstall procedure cannot be applied properly (without removing
all files in a directory). It would need to pre-compute paths.
As it is a packaging issue, it is removed from the build system capabilities.
The variable BUILD_DIR is also renamed to RTE_OUTPUT used in other files.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/setup.sh | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/tools/setup.sh b/tools/setup.sh index fbd3853..faa5eee 100755 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -111,14 +111,6 @@ setup_target() } # -# Uninstall all targets. -# -uninstall_targets() -{ - make uninstall -} - -# # Creates hugepage filesystem. # create_mnt_huge() @@ -577,23 +569,20 @@ step5_func() { TITLE="Uninstall and system cleanup" - TEXT[1]="Uninstall all targets" - FUNC[1]="uninstall_targets" - - TEXT[2]="Unbind NICs from IGB UIO or VFIO driver" - FUNC[2]="unbind_nics" + TEXT[1]="Unbind NICs from IGB UIO or VFIO driver" + FUNC[1]="unbind_nics" - TEXT[3]="Remove IGB UIO module" - FUNC[3]="remove_igb_uio_module" + TEXT[2]="Remove IGB UIO module" + FUNC[2]="remove_igb_uio_module" - TEXT[4]="Remove VFIO module" - FUNC[4]="remove_vfio_module" + TEXT[3]="Remove VFIO module" + FUNC[3]="remove_vfio_module" - TEXT[5]="Remove KNI module" - FUNC[5]="remove_kni_module" + TEXT[4]="Remove KNI module" + FUNC[4]="remove_kni_module" - TEXT[6]="Remove hugepage mappings" - FUNC[6]="clear_huge_pages" + TEXT[5]="Remove hugepage mappings" + FUNC[5]="clear_huge_pages" } STEPS[1]="step1_func" |