xref: /openbmc/u-boot/board/synopsys/hsdk/config.mk (revision 61523dde17d1539b8ea361e25909acfdfc465155)
19ddcfef6SEugeniy Paltsev# SPDX-License-Identifier: GPL-2.0+
29ddcfef6SEugeniy Paltsev#
39ddcfef6SEugeniy Paltsev# Copyright (C) 2018 Synopsys, Inc. All rights reserved.
49ddcfef6SEugeniy Paltsev
59ddcfef6SEugeniy Paltsevbsp-generate: u-boot u-boot.bin
69ddcfef6SEugeniy Paltsev	$(Q)python3 $(srctree)/board/$(BOARDDIR)/headerize-hsdk.py \
79ddcfef6SEugeniy Paltsev		--arc-id 0x52 --image $(srctree)/u-boot.bin \
89ddcfef6SEugeniy Paltsev		--elf $(srctree)/u-boot
9*0552e104SAlexey Brodkin	$(Q)tools/mkimage -T script -C none -n 'uboot update script' \
109ddcfef6SEugeniy Paltsev		-d $(srctree)/u-boot-update.txt \
119ddcfef6SEugeniy Paltsev		$(srctree)/u-boot-update.scr &> /dev/null
12