projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
951d704
)
generate md5 checksums of generated firware images. closes #4003 - checksums located...
author
Andy Boyett
<agb@openwrt.org>
Tue, 7 Oct 2008 08:01:55 +0000
(08:01 +0000)
committer
Andy Boyett
<agb@openwrt.org>
Tue, 7 Oct 2008 08:01:55 +0000
(08:01 +0000)
SVN-Revision: 12889
include/image.mk
patch
|
blob
|
history
diff --git
a/include/image.mk
b/include/image.mk
index 6eef6ba9cab373d784db4c0f52ccabe922e9d85a..6ac177d2e4c5445d32d7f13e88787a2d625bb3c5 100644
(file)
--- a/
include/image.mk
+++ b/
include/image.mk
@@
-78,6
+78,13
@@
else
endef
endif
endef
endif
+define Image/Checksum
+ ( cd ${BIN_DIR} ; \
+ $(FIND) -maxdepth 1 -type f \! -name 'md5sums' -printf "%P\n" | xargs \
+ md5sum > md5sums \
+ )
+endef
+
ifeq ($(CONFIG_TARGET_ROOTFS_EXT2FS),y)
E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_FSPART)*1024)))
ifeq ($(CONFIG_TARGET_ROOTFS_EXT2FS),y)
E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_FSPART)*1024)))
@@
-128,6
+135,7
@@
ifneq ($(IB),1)
$(call Image/mkfs/cpiogz)
$(call Image/mkfs/ext2)
$(call Image/mkfs/iso)
$(call Image/mkfs/cpiogz)
$(call Image/mkfs/ext2)
$(call Image/mkfs/iso)
+ $(call Image/Checksum)
else
install: compile install-targets
$(call Image/BuildKernel)
else
install: compile install-targets
$(call Image/BuildKernel)
@@
-137,6
+145,7
@@
else
$(call Image/mkfs/cpiogz)
$(call Image/mkfs/ext2)
$(call Image/mkfs/iso)
$(call Image/mkfs/cpiogz)
$(call Image/mkfs/ext2)
$(call Image/mkfs/iso)
+ $(call Image/Checksum)
endif
ifneq ($(IB),1)
endif
ifneq ($(IB),1)