summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/build-depends/cpplint
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/configure/build-depends/cpplint')
-rw-r--r--share/mk/configure/build-depends/cpplint/cpplint.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/cpplint/cpplint.mk b/share/mk/configure/build-depends/cpplint/cpplint.mk
new file mode 100644
index 0000000..330315f
--- /dev/null
+++ b/share/mk/configure/build-depends/cpplint/cpplint.mk
@@ -0,0 +1,19 @@
+# Copyright 2022-2024, Alejandro Colomar <alx@kernel.org>
+# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+
+
+ifndef MAKEFILE_CONFIGURE_BUILD_DEPENDS_CPPLINT_CPPLINT_INCLUDED
+MAKEFILE_CONFIGURE_BUILD_DEPENDS_CPPLINT_CPPLINT_INCLUDED := 1
+
+
+include $(MAKEFILEDIR)/configure/directory_variables/src.mk
+
+
+CPPLINT_CONF := $(SYSCONFDIR)/cpplint/cpplint.cfg
+DEFAULT_CPPLINTFLAGS :=
+EXTRA_CPPLINTFLAGS :=
+CPPLINTFLAGS := $(DEFAULT_CPPLINTFLAGS) $(EXTRA_CPPLINTFLAGS)
+CPPLINT := cpplint
+
+
+endif # include guard