summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-07-26 15:08:19 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-01 18:11:26 +0200
commit83175687c81bee594885d0738cfd488673f5a3fb (patch)
tree4ca505ef051e5bbc893b7ec40fa5b5199e3a8aa1
parent27854a0a84cd2db9539b662a1f1fc95ef7409962 (diff)
downloadmtk-20170518-83175687c81bee594885d0738cfd488673f5a3fb.zip
mtk-20170518-83175687c81bee594885d0738cfd488673f5a3fb.tar.gz
mtk-20170518-83175687c81bee594885d0738cfd488673f5a3fb.tar.bz2
build: remove image specific checksum code
Now that we globally calculate sha256sums over the bin/ directory we can remove the target image specific checksum handling. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--include/image.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/image.mk b/include/image.mk
index 415618d..91862c4 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -265,12 +265,6 @@ define Image/mkfs/prepare
endef
-define Image/Checksum
- ( cd ${BIN_DIR} ; \
- $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | sort | xargs $1 > $2 \
- )
-endef
-
ifdef CONFIG_TARGET_ROOTFS_TARGZ
define Image/Build/targz
$(TAR) -cp --numeric-owner --owner=0 --group=0 --sort=name \
@@ -569,7 +563,5 @@ define BuildImage
$(MAKE) legacy-images
install: install-images
- $(call Image/Checksum,md5sum --binary,md5sums)
- $(call Image/Checksum,openssl dgst -sha256,sha256sums)
endef