diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-12-25 16:40:05 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-05 11:09:12 +0100 |
commit | 84bd74057f0d2543ddbc7de2351b0a310df329c6 (patch) | |
tree | 7c7e358aedf5930eeba27392e3123702503556e5 /include/quilt.mk | |
parent | dad48c6438f0a4c42ad34842a88e82280d971d90 (diff) | |
download | mtk-20170518-84bd74057f0d2543ddbc7de2351b0a310df329c6.zip mtk-20170518-84bd74057f0d2543ddbc7de2351b0a310df329c6.tar.gz mtk-20170518-84bd74057f0d2543ddbc7de2351b0a310df329c6.tar.bz2 |
build: use mkhash to replace various quirky md5sum/openssl calls
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/quilt.mk')
-rw-r--r-- | include/quilt.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk index cd392a7..796e716 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -149,7 +149,8 @@ define Quilt/Template echo "The source directory contains no quilt patches."; \ false; \ } - @[ -n "$$$$(ls $(1)/patches/series)" -o "$$$$(cat $(1)/patches/series | md5sum)" = "$$(sort $(1)/patches/series | md5sum)" ] || { \ + @[ -n "$$$$(ls $(1)/patches/series)" -o \ + "$$$$(cat $(1)/patches/series | mkhash md5)" = "$$(sort $(1)/patches/series | mkhash md5)" ] || { \ echo "The patches are not sorted in the right order. Please fix."; \ false; \ } |