build: implement make check and make package/X/check
This is intended to be used for a wide array of package sanity checks.
The first check that is implemented is for the hash of downloaded files.
It checks:
- Missing hash
- Use of SHA256 instead of MD5
- dl/<file> hash not matching hash in makefile
- deprecated MD5SUM variable
The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt
is updated as well
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
Showing
- Makefile 1 addition, 0 deletionsMakefile
- include/download.mk 60 additions, 9 deletionsinclude/download.mk
- include/host-build.mk 6 additions, 2 deletionsinclude/host-build.mk
- include/kernel.mk 8 additions, 1 deletioninclude/kernel.mk
- include/package.mk 13 additions, 9 deletionsinclude/package.mk
- include/subdir.mk 1 addition, 1 deletioninclude/subdir.mk
- include/toplevel.mk 3 additions, 0 deletionsinclude/toplevel.mk
- package/Makefile 1 addition, 0 deletionspackage/Makefile
- rules.mk 8 additions, 0 deletionsrules.mk
- toolchain/Makefile 1 addition, 0 deletionstoolchain/Makefile
- tools/Makefile 1 addition, 0 deletionstools/Makefile
Loading
Please register or sign in to comment