Update sbe.mk to pass SBE image name
Pass SBE image name as input parameter to sbeOpDistribute.py
Signed-off-by: Murulidhar Nataraju <murulidhar@in.ibm.com>
diff --git a/openpower/package/sbe/sbe.mk b/openpower/package/sbe/sbe.mk
index 987a9c0..121e2c4 100644
--- a/openpower/package/sbe/sbe.mk
+++ b/openpower/package/sbe/sbe.mk
@@ -22,7 +22,7 @@
define SBE_INSTALL_IMAGES_CMDS
$(INSTALL) -D $(@D)/images/p9_ipl_build $(HOST_DIR)/usr/bin/
- python $(@D)/src/build/sbeOpDistribute.py --sbe_binary_dir=$(STAGING_DIR)/sbe_binaries --img_dir=$(@D)/images
+ python $(@D)/src/build/sbeOpDistribute.py --sbe_binary_dir=$(STAGING_DIR)/sbe_binaries --img_dir=$(@D)/images --sbe_binary_filename $(BR2_HOSTBOOT_BINARY_SBE_FILENAME)
cp $(@D)/src/build/sbeOpDistribute.py $(STAGING_DIR)/sbe_binaries/
endef