GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
quiet_cmd_srec_cat = SRECCAT $@
|
||||
cmd_srec_cat = srec_cat -output $@ -$2 \
|
||||
$< -binary \
|
||||
-fill 0x00 -within $< -binary -range-pad 16 \
|
||||
-offset $3
|
||||
|
||||
u-boot.mcs: u-boot.bin
|
||||
$(call cmd,srec_cat,intel,0x7c00000)
|
||||
|
||||
# if srec_cat is present build u-boot.mcs by default
|
||||
has_srec_cat = $(call try-run,srec_cat -VERSion,y,n)
|
||||
ALL-$(has_srec_cat) += u-boot.mcs
|
||||
CLEAN_FILES += u-boot.mcs
|
||||
Reference in New Issue
Block a user