scripts: move to devtools

The remaining scripts in the scripts/ directory are only useful
to developers. That's why devtools/ is a better name.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Thomas Monjalon 2016-12-15 22:47:44 +01:00
parent 4ec6960aec
commit 9a98f50e89
14 changed files with 17 additions and 17 deletions

View File

@ -24,13 +24,13 @@ General Project Administration
M: Thomas Monjalon <thomas.monjalon@6wind.com>
T: git://dpdk.org/dpdk
F: MAINTAINERS
F: scripts/check-maintainers.sh
F: scripts/check-git-log.sh
F: scripts/check-includes.sh
F: scripts/checkpatches.sh
F: scripts/git-log-fixes.sh
F: scripts/load-devel-config
F: scripts/test-build.sh
F: devtools/check-maintainers.sh
F: devtools/check-git-log.sh
F: devtools/check-includes.sh
F: devtools/checkpatches.sh
F: devtools/git-log-fixes.sh
F: devtools/load-devel-config
F: devtools/test-build.sh
Stable Branches
---------------

View File

@ -33,7 +33,7 @@
# Apply coccinelle transforms.
SRCTREE=$(readlink -f $(dirname $0)/..)
COCCI=$SRCTREE/scripts/cocci
COCCI=$SRCTREE/devtools/cocci
[ -n "$SPATCH" ] || SPATCH=$(which spatch)
PATCH_LIST="$@"

View File

@ -298,7 +298,7 @@ For example::
Checking the Patches
--------------------
Patches should be checked for formatting and syntax issues using the ``checkpatches.sh`` script in the ``scripts``
Patches should be checked for formatting and syntax issues using the ``checkpatches.sh`` script in the ``devtools``
directory of the DPDK repo.
This uses the Linux kernel development tool ``checkpatch.pl`` which can be obtained by cloning, and periodically,
updating the Linux kernel sources.
@ -313,7 +313,7 @@ files, in order of preference::
Once the environment variable the script can be run as follows::
scripts/checkpatches.sh ~/patch/
devtools/checkpatches.sh ~/patch/
The script usage is::
@ -340,10 +340,10 @@ Where the range is a ``git log`` option.
Checking Compilation
--------------------
Compilation of patches and changes should be tested using the the ``test-build.sh`` script in the ``scripts``
Compilation of patches and changes should be tested using the the ``test-build.sh`` script in the ``devtools``
directory of the DPDK repo::
scripts/test-build.sh x86_64-native-linuxapp-gcc+next+shared
devtools/test-build.sh x86_64-native-linuxapp-gcc+next+shared
The script usage is::

View File

@ -457,7 +457,7 @@ versions of the symbol.
Running the ABI Validator
-------------------------
The ``scripts`` directory in the DPDK source tree contains a utility program,
The ``devtools`` directory in the DPDK source tree contains a utility program,
``validate-abi.sh``, for validating the DPDK ABI based on the Linux `ABI
Compliance Checker
<http://ispras.linuxbase.org/index.php/ABI_compliance_checker>`_.
@ -470,7 +470,7 @@ utilities which can be installed via a package manager. For example::
The syntax of the ``validate-abi.sh`` utility is::
./scripts/validate-abi.sh <REV1> <REV2> <TARGET>
./devtools/validate-abi.sh <REV1> <REV2> <TARGET>
Where ``REV1`` and ``REV2`` are valid gitrevisions(7)
https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html
@ -479,13 +479,13 @@ on the local repo and target is the usual DPDK compilation target.
For example::
# Check between the previous and latest commit:
./scripts/validate-abi.sh HEAD~1 HEAD x86_64-native-linuxapp-gcc
./devtools/validate-abi.sh HEAD~1 HEAD x86_64-native-linuxapp-gcc
# Check between two tags:
./scripts/validate-abi.sh v2.0.0 v2.1.0 x86_64-native-linuxapp-gcc
./devtools/validate-abi.sh v2.0.0 v2.1.0 x86_64-native-linuxapp-gcc
# Check between git master and local topic-branch "vhost-hacking":
./scripts/validate-abi.sh master vhost-hacking x86_64-native-linuxapp-gcc
./devtools/validate-abi.sh master vhost-hacking x86_64-native-linuxapp-gcc
After the validation script completes (it can take a while since it need to
compile both tags) it will create compatibility reports in the