blob: 16fb59c438cdfb9e87c4710db1326859499cfab5 [file] [log] [blame]
Eugeniy Paltsev55457592018-06-04 14:52:32 +03001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2018 Synopsys, Inc. All rights reserved.
4
5bsp-generate: u-boot u-boot.bin
6 $(Q)python3 $(srctree)/board/$(BOARDDIR)/headerize-hsdk.py \
7 --arc-id 0x52 --image $(srctree)/u-boot.bin \
8 --elf $(srctree)/u-boot
9 $(Q)mkimage -T script -C none -n 'uboot update script' \
10 -d $(srctree)/u-boot-update.txt \
11 $(srctree)/u-boot-update.scr &> /dev/null