meta-aspeed: otptool: Embed config name in OTP image output filename

We're moving towards support for generating multiple OTP binaries per
platform configuration, so allow for differentiation in the file paths.

Change-Id: Iff01e524013fbf8cfdec0f8d7e7a599ee457514d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/meta-aspeed/classes/socsec-sign.bbclass b/meta-aspeed/classes/socsec-sign.bbclass
index d81a865..da71b7c 100644
--- a/meta-aspeed/classes/socsec-sign.bbclass
+++ b/meta-aspeed/classes/socsec-sign.bbclass
@@ -63,7 +63,7 @@
 verify_spl_otp() {
     socsec verify \
         --sec_image ${DEPLOYDIR}/${SPL_IMAGE} \
-        --otp_image ${DEPLOYDIR}/otp-all.image
+        --otp_image ${DEPLOYDIR}/"$(basename ${OTPTOOL_CONFIG} .json)"-otp-all.image
 
     if [ $? -ne 0 ]; then
         bbfatal "Verified OTP image failed."