Eugeniy Paltsev | 9ddcfef | 2018-06-04 14:52:32 +0300 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2018 Synopsys, Inc. All rights reserved. |
| 4 | |
Eugeniy Paltsev | c77bbc2 | 2020-02-12 14:23:54 +0300 | [diff] [blame^] | 5 | PLATFORM_CPPFLAGS += -mcpu=hs38_linux -mlittle-endian -matomic -mll64 \ |
| 6 | -mdiv-rem -mswap -mnorm -mmpy-option=9 -mbarrel-shifter \ |
| 7 | -mfpu=fpud_all |
| 8 | |
Eugeniy Paltsev | 9ddcfef | 2018-06-04 14:52:32 +0300 | [diff] [blame] | 9 | bsp-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 Brodkin | 0552e10 | 2018-07-11 18:24:44 +0300 | [diff] [blame] | 13 | $(Q)tools/mkimage -T script -C none -n 'uboot update script' \ |
Eugeniy Paltsev | 9ddcfef | 2018-06-04 14:52:32 +0300 | [diff] [blame] | 14 | -d $(srctree)/u-boot-update.txt \ |
| 15 | $(srctree)/u-boot-update.scr &> /dev/null |