blob: 5ae22fa2b75e4233e1d47d97b90fd94cb30f351d [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
Eugeniy Paltseva2e27092020-02-12 14:23:54 +03005PLATFORM_CPPFLAGS += -mcpu=hs38_linux -mlittle-endian -matomic -mll64 \
6 -mdiv-rem -mswap -mnorm -mmpy-option=9 -mbarrel-shifter \
7 -mfpu=fpud_all
8
Eugeniy Paltsev55457592018-06-04 14:52:32 +03009bsp-generate: u-boot u-boot.bin
10 $(Q)python3 $(srctree)/board/$(BOARDDIR)/headerize-hsdk.py \
11 --arc-id 0x52 --image $(srctree)/u-boot.bin \
12 --elf $(srctree)/u-boot
Alexey Brodkin7fd7b932018-07-11 18:24:44 +030013 $(Q)tools/mkimage -T script -C none -n 'uboot update script' \
Eugeniy Paltsev55457592018-06-04 14:52:32 +030014 -d $(srctree)/u-boot-update.txt \
15 $(srctree)/u-boot-update.scr &> /dev/null