]> git.sur5r.net Git - u-boot/blob - board/imgtec/boston/config.mk
boston: Add u-boot.mcs make target
[u-boot] / board / imgtec / boston / config.mk
1 #
2 # SPDX-License-Identifier:      GPL-2.0+
3 #
4
5 quiet_cmd_srec_cat = SRECCAT $@
6       cmd_srec_cat = srec_cat -output $@ -$2 $< -binary -offset $3
7
8 u-boot.mcs: u-boot.bin
9         $(call cmd,srec_cat,intel,0x7c00000)
10
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