kumquat-buildroot/support/scripts
Ricardo Martincoski 8e87d76c12 check-package: check *.mk files
Warn when there are obvious indentation errors:
- the number of expect tabs is not yet checked since it is more complex
  to achieve;
- the content inside define ... endef should be indented with tab(s),
  see [1];
- line just after a backslash should be indented with tab(s), see [2];
- other lines should not be indented, see [3];
- ignore empty lines and comments.
Warn when there is no well-formatted header in the file:
- 80 hashes at lines 1 and 5;
- 1 hash at lines 2 and 4;
- empty line at line 6;
- see [4];
- ignore files that only include other mk files.
Warn when there are more than one space before backslash, see [5].
Warn when there is a trailing backslash [6].
Warn for flags set to default value YES or NO, see [7], [8], [9].

[1] http://patchwork.ozlabs.org/patch/681429/
[2] http://patchwork.ozlabs.org/patch/681430/
[3] http://patchwork.ozlabs.org/patch/559209/
[4] http://nightly.buildroot.org/#writing-rules-mk
[5] http://patchwork.ozlabs.org/patch/649084/
[6] http://patchwork.ozlabs.org/patch/535550/
[7] http://patchwork.ozlabs.org/patch/704718/
[8] http://nightly.buildroot.org/#_infrastructure_for_packages_with_specific_build_systems
[9] http://nightly.buildroot.org/#_infrastructure_for_autotools_based_packages

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-08 16:15:35 +02:00
..
apply-patches.sh support/apply-patches: re-instate set -e 2016-07-06 14:47:30 +02:00
br2-external core/br2-external: properly report unexpected errors 2017-03-26 23:44:04 +02:00
brpkgutil.py graph-depends: rename pkgutil.py to brpkgutil.py 2017-03-21 23:11:04 +01:00
check-bin-arch support/scripts/check-bin-arch: fix after "fix for filenames with spaces" 2017-03-22 21:43:54 +01:00
check-host-rpath support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} 2016-04-21 22:17:36 +02:00
check-kernel-headers.sh check-kernel-headers: mktemp --tmpdir not available on RedHat RHEL5 2014-09-28 20:40:57 +02:00
check-package support/scripts/check-package: new script 2017-04-08 16:15:31 +02:00
check-package.txt support/scripts/check-package: new script 2017-04-08 16:15:31 +02:00
checkpackagebase.py support/scripts/check-package: new script 2017-04-08 16:15:31 +02:00
checkpackagelib_config.py check-package: check whitespace and empty lines 2017-04-08 16:15:32 +02:00
checkpackagelib_hash.py check-package: check *.hash files 2017-04-08 16:15:33 +02:00
checkpackagelib_mk.py check-package: check *.mk files 2017-04-08 16:15:35 +02:00
checkpackagelib_patch.py check-package: check *.patch files 2017-04-08 16:15:34 +02:00
checkpackagelib.py check-package: check whitespace and empty lines 2017-04-08 16:15:32 +02:00
eclipse-register-toolchain
expunge-gconv-modules Change /bin/bash shebangs into /usr/bin/env bash 2014-10-25 01:55:37 +02:00
fix-configure-powerpc64.sh pkg-autotools: generic configure fix for powerpc64 2016-12-05 22:51:17 +01:00
genimage.sh support/scripts: add generic genimage script 2017-04-01 15:50:22 +02:00
get-developers get-developers: fix parentheses for print 2016-11-05 11:49:05 +01:00
getdeveloperlib.py scripts/get-developers: correct type of patches argument 2016-10-25 12:43:27 +02:00
graph-build-time support/scripts: fix graph-build-time help text 2016-05-24 23:26:25 +02:00
graph-depends graph-depends: rename pkgutil.py to brpkgutil.py 2017-03-21 23:11:04 +01:00
hardlink-or-copy support/scripts: add helper to hardlink-or-copy 2016-05-11 23:14:37 +02:00
mkmakefile Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01:00
mkusers support/mkusers: rename variable to avoid name clashing 2017-03-04 11:56:51 +01:00
pkg-stats linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
pycompile.py pycompile: allow to force compilation 2017-03-20 23:00:25 +01:00
scancpan scripts/scancpan: use SPDX short identifier for license 2017-04-01 15:35:14 +02:00
scanpypi scripts/scanpypi: use SPDX short identifier for license 2017-04-01 15:43:36 +02:00
setlocalversion setlocalversion: sync with Linux kernel version (2.6.34) 2013-09-04 11:58:12 +02:00
size-stats size-stats: don't count hard links 2017-02-06 19:38:53 +01:00
size-stats-compare support/scripts: add size-stats-compare script 2016-02-07 15:52:25 +01:00
test-pkg support/test-pkg: print number of toolchains and progress 2017-04-06 21:51:29 +02:00
xorg-release trivial: fix typo 'informations' 2014-07-24 22:31:20 +02:00