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>
This commit is contained in:
parent
27854a0a84
commit
83175687c8
@ -265,12 +265,6 @@ define Image/mkfs/prepare
|
|||||||
endef
|
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
|
ifdef CONFIG_TARGET_ROOTFS_TARGZ
|
||||||
define Image/Build/targz
|
define Image/Build/targz
|
||||||
$(TAR) -cp --numeric-owner --owner=0 --group=0 --sort=name \
|
$(TAR) -cp --numeric-owner --owner=0 --group=0 --sort=name \
|
||||||
@ -569,7 +563,5 @@ define BuildImage
|
|||||||
$(MAKE) legacy-images
|
$(MAKE) legacy-images
|
||||||
|
|
||||||
install: install-images
|
install: install-images
|
||||||
$(call Image/Checksum,md5sum --binary,md5sums)
|
|
||||||
$(call Image/Checksum,openssl dgst -sha256,sha256sums)
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user