|
@@ -58,9 +58,12 @@ metadata_gl_json = \
|
|
|
|
|
|
define Build/append-gl-metadata
|
|
|
$(if $(SUPPORTED_DEVICES),-echo $(call metadata_gl_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@)
|
|
|
- [ ! -s "$(BUILD_KEY)" -o ! -s "$@" ] || { \
|
|
|
+ sha256sum "$@" | cut -d" " -f1 > "[email protected]"
|
|
|
+ [ ! -s "$(BUILD_KEY)" -o ! -s "$(BUILD_KEY).ucert" -o ! -s "$@" ] || { \
|
|
|
+ cp "$(BUILD_KEY).ucert" "[email protected]" ;\
|
|
|
usign -S -m "$@" -s "$(BUILD_KEY)" -x "[email protected]" ;\
|
|
|
- fwtool -S "[email protected]" "$@" ;\
|
|
|
+ ucert -A -c "[email protected]" -x "[email protected]" ;\
|
|
|
+ fwtool -S "[email protected]" "$@" ;\
|
|
|
}
|
|
|
endef
|
|
|
|