xref: /openbmc/u-boot/board/synopsys/hsdk/config.mk (revision 95963679)
1# 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
12