2 # SPDX-License-Identifier: GPL-2.0+
5 quiet_cmd_srec_cat = SRECCAT $@
6 cmd_srec_cat = srec_cat -output $@ -$2 $< -binary -offset $3
9 $(call cmd,srec_cat,intel,0x7c00000)
11 # if srec_cat is present build u-boot.mcs by default
12 has_srec_cat = $(call try-run,srec_cat -VERSion,y,n)
13 ALL-$(has_srec_cat) += u-boot.mcs
14 CLEAN_FILES += u-boot.mcs