aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-13 08:50:50 -0500
committerSimon Glass <sjg@chromium.org>2023-01-18 14:55:41 -0700
commit4c5907889553696160fabaa7e9f0c96ed1fa6597 (patch)
treefce83e6803f2db38a3d5f2393db231f553261d65
parentda413b56356c0c95c10ecb8e73ec31d160c7024a (diff)
downloadu-boot-4c5907889553696160fabaa7e9f0c96ed1fa6597.zip
u-boot-4c5907889553696160fabaa7e9f0c96ed1fa6597.tar.gz
u-boot-4c5907889553696160fabaa7e9f0c96ed1fa6597.tar.bz2
patman: symlink top level .checkpatch.conf
This makes it possible to run the patman test suite simply by invoking 'pytest' from the patman sub-directory: $ cd tools/patman $ pytest Otherwise, the top level .checkpatch.conf would be ignored and multiple test_checkpatch.py tests would fail. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--.gitignore1
l---------tools/patman/.checkpatch.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index eb769f1..3adf1fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
# Normal rules (sorted alphabetically)
#
.*
+!.checkpatch.conf
*.a
*.asn1.[ch]
*.bin
diff --git a/tools/patman/.checkpatch.conf b/tools/patman/.checkpatch.conf
new file mode 120000
index 0000000..c0e2020
--- /dev/null
+++ b/tools/patman/.checkpatch.conf
@@ -0,0 +1 @@
+../../.checkpatch.conf \ No newline at end of file